瀏覽代碼

added extra linefeed after attached message/rfc822 attachment

stekkel 23 年之前
父節點
當前提交
c29c0921b7
共有 1 個文件被更改,包括 1 次插入0 次删除
  1. 1 0
      src/move_messages.php

+ 1 - 0
src/move_messages.php

@@ -97,6 +97,7 @@ function attachSelectedMessages($msg, $imapConnection) {
 
 
 		array_shift($body_a);
 		array_shift($body_a);
 		$body = implode('', $body_a);
 		$body = implode('', $body_a);
+		$body .= "\r\n";
 		
 		
 		$localfilename = GenerateRandomString(32, 'FILE', 7);
 		$localfilename = GenerateRandomString(32, 'FILE', 7);
 		$full_localfilename = "$hashed_attachment_dir/$localfilename";
 		$full_localfilename = "$hashed_attachment_dir/$localfilename";