浏览代码

use 8bit content-transfer-encoding header when MDN contains 8bit symbols.
8bit symbols can be present, if interface uses translated strings. Fix for #934033

tokul 21 年之前
父节点
当前提交
8b9751737c
共有 1 个文件被更改,包括 2 次插入0 次删除
  1. 2 0
      src/read_body.php

+ 2 - 0
src/read_body.php

@@ -203,6 +203,8 @@ function SendMDN ( $mailbox, $passed_id, $sender, $message, $imapConnection) {
                 $special_encoding = '7bit';
             }
         }
+    } elseif (sq_is8bit($body)) {
+        $special_encoding = '8bit';
     }
     $part1 = new Message();
     $part1->setBody($body);