DataObjects/Core_curr_rate.php
[Pman.Core] / Mailer.php
index dce5a86..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) {
@@ -161,7 +163,7 @@ class Pman_Core_Mailer {
         
         /* use variables from this object to ouput data. */
         $mailtext = $template->bufferedOutputObject($content);
-        print_r($mailtext);exit;
+        //print_r($mailtext);exit;