Mailer.php
authorEdward <edward@roojs.com>
Fri, 21 Feb 2014 11:04:48 +0000 (19:04 +0800)
committerEdward <edward@roojs.com>
Fri, 21 Feb 2014 11:04:48 +0000 (19:04 +0800)
Mailer.php

index e650b63..3922947 100644 (file)
@@ -140,7 +140,9 @@ class Pman_Core_Mailer {
             
             // for the html body, we may want to convert the attachments to images.
 //            var_dump($htmlbody);exit;
-            $htmlbody = $this->htmlbodytoCID($htmlbody);
+            if (!$this->replaceImages)) {
+                $htmlbody = $this->htmlbodytoCID($htmlbody);    
+            }
             
               
         }