Explorar o código

Don't put encoding on multipart/alt message parts

pdontthink %!s(int64=17) %!d(string=hai) anos
pai
achega
50df633836
Modificáronse 1 ficheiros con 2 adicións e 0 borrados
  1. 2 0
      class/deliver/Deliver.class.php

+ 2 - 0
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;
             }