DataObjects/Core_curr_rate.php
[Pman.Core] / Mailer.php
index 40a40fa..8002ef1 100644 (file)
@@ -142,6 +142,8 @@ class Pman_Core_Mailer {
             $htmltemplate->compile('mail/'. $templateFile.'.body.html');
             $htmlbody =  $htmltemplate->bufferedOutputObject($content);
             
+            $this->htmlbody = $htmlbody;
+            
             // for the html body, we may want to convert the attachments to images.
 //            var_dump($htmlbody);exit;
             if ($this->replaceImages) {
@@ -253,8 +255,8 @@ class Pman_Core_Mailer {
             $parts[1] = $mime->headers($parts[1]);
         }
 //        echo '<PRE>';
-        print_r('parts');
-        print_r($parts[2]);
+//        print_r('parts');
+//        print_r($parts[2]);
 //        exit;
        // list($recipents,$headers,$body) = $parts;
         return array(