From: fidian Date: Fri, 2 Feb 2001 16:05:10 +0000 (+0000) Subject: Commented where more workarounds were added X-Git-Url: https://vcs.fsf.org/?a=commitdiff_plain;h=fdc3543312de7862c3ea6442bf08174aa09713ff;p=squirrelmail.git Commented where more workarounds were added git-svn-id: https://svn.code.sf.net/p/squirrelmail/code/trunk/squirrelmail@1041 7612ce4b-ef26-0410-bec9-ea0150e637f0 --- diff --git a/functions/smtp.php b/functions/smtp.php index f456710c..9ec78632 100644 --- a/functions/smtp.php +++ b/functions/smtp.php @@ -491,6 +491,8 @@ $imap_stream = sqimap_login($username, $key, $imapServerAddress, $imapPort, 1); + // The trim() is a workaround for RedHat's PHP 4.0.4pl1-3 + // Possibly is there to make Konq work. if ($reply_id = trim($reply_id)) { sqimap_mailbox_select ($imap_stream, $mailbox); sqimap_messages_flag ($imap_stream, $reply_id, $reply_id, 'Answered'); @@ -523,6 +525,8 @@ $length = sendSMTP($t, $c, $b, $subject, $body, $more_headers); } + // The trim() is a workaround for RedHat's PHP 4.0.4pl1-3 + // Possibly is there to make Konq work. $sent_folder = trim($sent_folder); if (sqimap_mailbox_exists ($imap_stream, $sent_folder)) { sqimap_append ($imap_stream, $sent_folder, $length);