From c85b38c9fca7f68a94d7c4ba09830adff6d5a069 Mon Sep 17 00:00:00 2001 From: lkehresman Date: Fri, 21 Apr 2000 21:50:24 +0000 Subject: [PATCH] bugfixes in sending git-svn-id: https://svn.code.sf.net/p/squirrelmail/code/trunk/squirrelmail@453 7612ce4b-ef26-0410-bec9-ea0150e637f0 --- functions/mailbox_display.php | 10 +++++----- functions/smtp.php | 2 -- 2 files changed, 5 insertions(+), 7 deletions(-) diff --git a/functions/mailbox_display.php b/functions/mailbox_display.php index f19f1f50..678510e0 100644 --- a/functions/mailbox_display.php +++ b/functions/mailbox_display.php @@ -24,9 +24,9 @@ if ($msg["FLAG_ANSWERED"] == true) { $ans = " [A]"; } echo " \n"; - echo " $bold$flag$senderName$flag_end$bold_end\n"; + echo " $bold$flag$senderName$flag_end$bold_end\n"; echo "
$bold$flag".$msg["DATE_STRING"]."$flag_end$bold_end
\n"; - echo " $bold$flag$subject$flag_end$ans$bold_end\n"; + echo " $bold$flag$subject$flag_end$ans$bold_end\n"; echo "\n"; } @@ -203,9 +203,9 @@ echo ""; echo ""; echo ""; - echo " "; + echo " "; /** FROM HEADER **/ - echo " \n"; else if ($sort == 3) @@ -213,7 +213,7 @@ else echo " \n"; /** DATE HEADER **/ - echo " \n"; else if ($sort == 1) diff --git a/functions/smtp.php b/functions/smtp.php index dda8f848..049b8da2 100644 --- a/functions/smtp.php +++ b/functions/smtp.php @@ -440,7 +440,6 @@ $imap_stream = sqimap_login($username, $key, $imapServerAddress, $imapPort, 1); if (sqimap_mailbox_exists ($imap_stream, $sent_folder)) { sqimap_append ($imap_stream, $sent_folder, $length); - echo "sqimap_append ($imap_stream, $sent_folder, $length)"; write822Header ($imap_stream, $t, $c, $b, $subject); writeBody ($imap_stream, $body); sqimap_append_done ($imap_stream); @@ -448,6 +447,5 @@ // Delete the files uploaded for attaching (if any). deleteAttachments(); - exit; } ?> -- 2.25.1
  ". _("From") .""; + echo " ". _("From") .""; if ($sort == 2) echo " ". _("Date") .""; + echo " ". _("Date") .""; if ($sort == 0) echo "