projects
/
Pman.Core
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
4490f87
)
NotifySend.php
author
Alan Knowles
<alan@akbkhome.com>
Tue, 14 Feb 2012 06:43:00 +0000
(14:43 +0800)
committer
Alan Knowles
<alan@akbkhome.com>
Tue, 14 Feb 2012 06:43:00 +0000
(14:43 +0800)
NotifySend.php
patch
|
blob
|
history
diff --git
a/NotifySend.php
b/NotifySend.php
index
8b73f6f
..
e033f29
100644
(file)
--- a/
NotifySend.php
+++ b/
NotifySend.php
@@
-328,7
+328,7
@@
class Pman_Core_NotifySend extends Pman
}
if ($fail || $next_try_min > (2*24*60)) {
// fail.. = log and give up..
- $ev = $this->addEvent('NOTIFY', $w,
"RETRY TIME EXCEEDED - "
.
+ $ev = $this->addEvent('NOTIFY', $w,
($fail ? "FAILED - " : "RETRY TIME EXCEEDED - ")
.
$p->email . ' ' .
($fail ? ($res->userinfo['smtpcode'] . ' : ' .$res->toString()) : " - UNKNOWN ERROR"));
$w->sent = date('Y-m-d H:i:s');