git-svn-id: https://svn.code.sf.net/p/squirrelmail/code/trunk/squirrelmail@13060
7612ce4b-ef26-0410-bec9-
ea0150e637f0
} else {
if ($mime_header->type0 == 'text' || $mime_header->type0 == 'message') {
$header[] = 'Content-Transfer-Encoding: 8bit' . $rn;
} 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;
}
} else {
$header[] = 'Content-Transfer-Encoding: base64' . $rn;
}