DataObjects/Events.php
[Pman.Core] / Mailer.php
index e5bab43..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;
@@ -159,11 +159,6 @@ class Pman_Core_Mailer {
         $htmlbody = false;
         $html_tmp_opts = $tmp_opts;
         $htmltemplate = new HTML_Template_Flexy( $html_tmp_opts );
-        
-        $htmltemplate->resolvePath('mail/'.$templateFile.'.body.html');
-        
-        print_r('test');exit;
-                
         if (is_string($htmltemplate->resolvePath('mail/'.$templateFile.'.body.html')) ) {
             // then we have a multi-part email...