projects
/
Pman.Core
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
7d7d9ed
)
NotifySend.php
author
Alan Knowles
<alan@akbkhome.com>
Fri, 3 Feb 2012 02:53:31 +0000
(10:53 +0800)
committer
Alan Knowles
<alan@akbkhome.com>
Fri, 3 Feb 2012 02:53:31 +0000
(10:53 +0800)
NotifySend.php
patch
|
blob
|
history
diff --git
a/NotifySend.php
b/NotifySend.php
index
1ab2aff
..
a313de2
100644
(file)
--- a/
NotifySend.php
+++ b/
NotifySend.php
@@
-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..