From c6dd29ba07c756116881b5b8e585837cbf4f32b6 Mon Sep 17 00:00:00 2001 From: pdontthink Date: Sun, 20 Apr 2008 02:21:33 +0000 Subject: [PATCH] Don't put encoding on multipart/alt message parts git-svn-id: https://svn.code.sf.net/p/squirrelmail/code/trunk/squirrelmail@13060 7612ce4b-ef26-0410-bec9-ea0150e637f0 --- class/deliver/Deliver.class.php | 2 ++ 1 file changed, 2 insertions(+) diff --git a/class/deliver/Deliver.class.php b/class/deliver/Deliver.class.php index e9038fdd..ad4e1fd7 100644 --- a/class/deliver/Deliver.class.php +++ b/class/deliver/Deliver.class.php @@ -437,6 +437,8 @@ class Deliver { } else { if ($mime_header->type0 == 'text' || $mime_header->type0 == 'message') { $header[] = 'Content-Transfer-Encoding: 8bit' . $rn; + } else if ($mime_header->type0 == 'multipart' || $mime_header->type0 == 'alternative') { + /* no-op; no encoding needed */ } else { $header[] = 'Content-Transfer-Encoding: base64' . $rn; } -- 2.25.1