DataObjects/Events.php
[Pman.Core] / Mailer.php
index 7f416ba..49814db 100644 (file)
@@ -86,7 +86,7 @@ class Pman_Core_Mailer {
       
     var $bcc = false;
     
-    function Pman_Core_Mailer($args) {
+    function __construct($args) {
         foreach($args as $k=>$v) {
             // a bit trusting..
             $this->$k =  $v;
@@ -169,7 +169,6 @@ class Pman_Core_Mailer {
             
             $htmltemplate->compile('mail/'. $templateFile.'.body.html');
             $htmlbody =  $htmltemplate->bufferedOutputObject($content);
-            print_r($htmlbody);exit;
             
             $this->htmlbody = $htmlbody;
             
@@ -195,7 +194,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;
+       
         
         
         //echo "<PRE>";print_R($mailtext);