From cabd9aaf8733f471e9b0a8aa955aa77072ece6e2 Mon Sep 17 00:00:00 2001 From: Alan Knowles Date: Thu, 25 Jul 2013 15:49:37 +0800 Subject: [PATCH] fix --- Mailer.php | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/Mailer.php b/Mailer.php index b765c096..ff25d5e6 100644 --- a/Mailer.php +++ b/Mailer.php @@ -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; -- 2.39.2