Browse Source

Change message file suffix from .eml to .msg (as in download.php/compose.php) so they are not bounced by email filters (eg sf).

alex-brainstorm 22 years ago
parent
commit
658b021a8d
1 changed files with 1 additions and 1 deletions
  1. 1 1
      src/move_messages.php

+ 1 - 1
src/move_messages.php

@@ -77,7 +77,7 @@ function attachSelectedMessages($msg, $imapConnection) {
             $fp = fopen( $full_localfilename, 'wb');
             $fp = fopen( $full_localfilename, 'wb');
             fwrite ($fp, $body);
             fwrite ($fp, $body);
             fclose($fp);
             fclose($fp);
-            $composeMessage->initAttachment('message/rfc822',$subject.'.eml',
+            $composeMessage->initAttachment('message/rfc822',$subject.'.msg',
                  $full_localfilename);
                  $full_localfilename);
         }
         }
     }
     }