use 8bit content-transfer-encoding header when MDN contains 8bit symbols.
authortokul <tokul@7612ce4b-ef26-0410-bec9-ea0150e637f0>
Fri, 15 Oct 2004 09:20:39 +0000 (09:20 +0000)
committertokul <tokul@7612ce4b-ef26-0410-bec9-ea0150e637f0>
Fri, 15 Oct 2004 09:20:39 +0000 (09:20 +0000)
8bit symbols can be present, if interface uses translated strings. Fix for #934033

git-svn-id: https://svn.code.sf.net/p/squirrelmail/code/trunk/squirrelmail@8184 7612ce4b-ef26-0410-bec9-ea0150e637f0

src/read_body.php

index 7b89b2bc61be7cb2776b176fcd5e76b91fb1b18e..1c02e88ee66da8a619c0cadc7372856af2a6ccac 100644 (file)
@@ -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);