Browse Source

When appending a message, the returned data still included a ) from the
IMAP response, this would be appended to the emails.

jangliss 22 years ago
parent
commit
94e535d00b
2 changed files with 2 additions and 0 deletions
  1. 1 0
      ChangeLog
  2. 1 0
      src/move_messages.php

+ 1 - 0
ChangeLog

@@ -66,6 +66,7 @@ Version 1.5.0 -- CVS
     forms.  This was suggested for the gpg plugin, but might be useful elsewhere.
     forms.  This was suggested for the gpg plugin, but might be useful elsewhere.
   - Add support for Mail-Followup-To header.
   - Add support for Mail-Followup-To header.
   - Add a confirmation for the user that their mail has been sent.
   - Add a confirmation for the user that their mail has been sent.
+  - Fixed issue with forwarding emails having a ) appended to the end.
 
 
 **************************************
 **************************************
 *** SquirrelMail Stable Series 1.4 ***
 *** SquirrelMail Stable Series 1.4 ***

+ 1 - 0
src/move_messages.php

@@ -67,6 +67,7 @@ function attachSelectedMessages($msg, $imapConnection) {
             }
             }
 
 
             array_shift($body_a);
             array_shift($body_a);
+            array_pop($body_a);
             $body = implode('', $body_a);
             $body = implode('', $body_a);
             $body .= "\r\n";
             $body .= "\r\n";