projects
/
Pman.Core
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
0852119
)
NotifySend.php
author
Alan Knowles
<alan@akbkhome.com>
Mon, 12 Dec 2011 07:12:02 +0000
(15:12 +0800)
committer
Alan Knowles
<alan@akbkhome.com>
Mon, 12 Dec 2011 07:12:02 +0000
(15:12 +0800)
NotifySend.php
patch
|
blob
|
history
diff --git
a/NotifySend.php
b/NotifySend.php
index
9dfcd86
..
8aa87bc
100644
(file)
--- a/
NotifySend.php
+++ b/
NotifySend.php
@@
-189,6
+189,20
@@
class Pman_Core_NotifySend extends Pman
$mxs = $this->mxs($dom);
$ww = clone($w);
+
+
+ if ($mxs === false) {
+ $ev = $this->addEvent('NOTIFY', $w, "BAD ADDRESS - ". $p->email );
+ $w->sent = date('Y-m-d H:i:s');
+ $w->msgid = '';
+ $w->event_id = $ev->id;
+ $w->update($ww);
+ die(date('Y-m-d h:i:s') . ' - FAILED - BAD EMAIL - {$p->email} \n"));
+
+
+ }
+
+
$fail = false;
require_once 'Mail.php';