Mailer.php
authorAlan Knowles <alan@roojs.com>
Wed, 8 Oct 2014 11:20:30 +0000 (19:20 +0800)
committerAlan Knowles <alan@roojs.com>
Wed, 8 Oct 2014 11:20:30 +0000 (19:20 +0800)
Mailer.php

index 9273c27..05d6c02 100644 (file)
@@ -316,7 +316,7 @@ class Pman_Core_Mailer {
                 'Subject: '  . @$email['headers']['Subject']
             ); 
         }  else {
-            $pg->addEvent("COREMAILER-FAIL",  false, $res->toString());
+            $pg->addEvent("COREMAILER-FAIL",  false, $ret->toString());
         }
         
         return $ret;