projects
/
Pman.Core
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
48ec39f
)
error handling
author
Alan
<alan@roojs.com>
Wed, 11 Oct 2023 02:50:43 +0000
(10:50 +0800)
committer
Alan
<alan@roojs.com>
Wed, 11 Oct 2023 02:50:43 +0000
(10:50 +0800)
NotifySend.php
patch
|
blob
|
history
diff --git
a/NotifySend.php
b/NotifySend.php
index
59b0c11
..
959d58e
100644
(file)
--- a/
NotifySend.php
+++ b/
NotifySend.php
@@
-428,7
+428,7
@@
class Pman_Core_NotifySend extends Pman
$res = $mailer->send($p->email, $email['headers'], $email['body']);
$res = $mailer->send($p->email, $email['headers'], $email['body']);
-
$this->debug("GOT response to send: ". var_export($res,true));
+ $this->debug("GOT response to send: ". var_export($res,true));
if ($res === true) {
// success....
if ($res === true) {
// success....
@@
-461,7
+461,7
@@
class Pman_Core_NotifySend extends Pman
}
}
}
}
- $this->errorHandler( " SENT {$w->id} - {$
w
->remarks}", true);
+ $this->errorHandler( " SENT {$w->id} - {$
ev
->remarks}", true);
}
// what type of error..
$code = empty($res->userinfo['smtpcode']) ? -1 : $res->userinfo['smtpcode'];
}
// what type of error..
$code = empty($res->userinfo['smtpcode']) ? -1 : $res->userinfo['smtpcode'];