Mailer.php
[Pman.Core] / Mailer.php
index cee5d12..700fd17 100644 (file)
@@ -172,7 +172,7 @@ class Pman_Core_Mailer {
 //            var_dump($htmlbody);exit;
             
             if($content->body_cls && strlen($content->body_cls)){
-//                $htmlbody = $this->htmlbodySetClass($htmlbody, $content->body_cls);
+                $htmlbody = $this->htmlbodySetClass($htmlbody, $content->body_cls);
             }
             
             if ($this->replaceImages) {
@@ -494,6 +494,7 @@ class Pman_Core_Mailer {
     
     function htmlbodySetClass($html, $cls)
     {
+        print_R('run???');exit;
         $dom = new DOMDocument();
         
         @$dom->loadHTML('<?xml encoding="UTF-8">' .$html);