From 1e2026dfc25babaf744288375b23b8a162084e56 Mon Sep 17 00:00:00 2001 From: stekkel Date: Mon, 12 May 2003 09:13:20 +0000 Subject: [PATCH] fix for missed encoding header line. Thnx tokul for spotting this. git-svn-id: https://svn.code.sf.net/p/squirrelmail/code/trunk/squirrelmail@4861 7612ce4b-ef26-0410-bec9-ea0150e637f0 --- src/compose.php | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/src/compose.php b/src/compose.php index 9b1b2420..a7080c9a 100644 --- a/src/compose.php +++ b/src/compose.php @@ -1405,7 +1405,12 @@ function deliverMessage($composeMessage, $draft=false) { array_unshift($composeMessage->entities, $message_body); $content_type = new ContentType('multipart/mixed'); } else { - $content_type = new ContentType('text/plain'); + $content_type = new ContentType('text/plain'); + if ($special_encoding) { + $rfc822_header->encoding = $special_encoding; + } else { + $rfc822_header->encoding = '8bit'; + } } if ($default_charset) { $content_type->properties['charset']=$default_charset; -- 2.25.1