From: tokul Date: Fri, 15 Oct 2004 09:20:39 +0000 (+0000) Subject: use 8bit content-transfer-encoding header when MDN contains 8bit symbols. X-Git-Url: https://vcs.fsf.org/?p=squirrelmail.git;a=commitdiff_plain;h=21461ca4cb263b2d8788d3e5e8b9dc21b2cf3f1b use 8bit content-transfer-encoding header when MDN contains 8bit symbols. 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 --- diff --git a/src/read_body.php b/src/read_body.php index 7b89b2bc..1c02e88e 100644 --- a/src/read_body.php +++ b/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);