fix
authorAlan Knowles <alan@roojs.com>
Thu, 25 Jul 2013 07:49:37 +0000 (15:49 +0800)
committerAlan Knowles <alan@roojs.com>
Thu, 25 Jul 2013 07:49:37 +0000 (15:49 +0800)
Mailer.php

index b765c09..ff25d5e 100644 (file)
@@ -177,7 +177,9 @@ class Pman_Core_Mailer {
         if ($htmlbody !== false) {
             // got a html headers...
             
-            
+            if (isset($parts[1]['Content-Type'])) {
+                unset($parts[1]['Content-Type']);
+            }
             $mime->setTXTBody($parts[2]);
             $mime->setHTMLBody($htmlbody);
 //            var_dump($mime);exit;