DataObjects/Events.php
[Pman.Core] / Mailer.php
index 5ee0530..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;
@@ -193,7 +193,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;