NotifySend.php
authorAlan Knowles <alan@akbkhome.com>
Fri, 3 Feb 2012 02:53:31 +0000 (10:53 +0800)
committerAlan Knowles <alan@akbkhome.com>
Fri, 3 Feb 2012 02:53:31 +0000 (10:53 +0800)
NotifySend.php

index 1ab2aff..a313de2 100644 (file)
@@ -241,6 +241,10 @@ class Pman_Core_NotifySend extends Pman
                   //  'debug' => true
                 ));
             $res = $mailer->send($p->email, $email['headers'], $email['body']);
+            
+            
+            
+            
             if ($res === true) {
                 // success....
                 
@@ -273,6 +277,7 @@ class Pman_Core_NotifySend extends Pman
             // what type of error..
             $code = empty($res->userinfo['smtpcode']) ? -1 : $res->userinfo['smtpcode'];
             if ($code < 0) {
+                $this->debug(print_R($res,true));
                 continue; // try next mx... ??? should we wait??? - nope we did not even connect..
             }
             // give up after 2 days..