Mailer.php
authoredward <edward@roojs.com>
Mon, 26 Mar 2018 09:03:08 +0000 (17:03 +0800)
committeredward <edward@roojs.com>
Mon, 26 Mar 2018 09:03:08 +0000 (17:03 +0800)
Mailer.php

index d8ac81e..a2d29ad 100644 (file)
@@ -86,6 +86,8 @@ class Pman_Core_Mailer {
       
     var $bcc = false;
     
+    var $body_cls = false;
+    
     function __construct($args) {
         foreach($args as $k=>$v) {
             // a bit trusting..
@@ -169,7 +171,9 @@ class Pman_Core_Mailer {
             // for the html body, we may want to convert the attachments to images.
 //            var_dump($htmlbody);exit;
             
-            
+            if($content->body_cls && strlen($content->body_cls)){
+                
+            }
             
             if ($this->replaceImages) {
                 $htmlbody = $this->htmlbodytoCID($htmlbody);