X-Git-Url: http://git.roojs.org/?p=Pman.Core;a=blobdiff_plain;f=NotifySend.php;h=91afa5a1b7c52f06a0e3f6f3f8841f1314150fed;hp=dd31ddd4db390956c70a27ca7c20456ec8c6f3c4;hb=586e4eb470252d837ba18b67e4c3c1702131fd1d;hpb=11d0d3943ad1ec9503680d7c37a7684b0a62bd34 diff --git a/NotifySend.php b/NotifySend.php index dd31ddd4..91afa5a1 100644 --- a/NotifySend.php +++ b/NotifySend.php @@ -289,8 +289,8 @@ class Pman_Core_NotifySend extends Pman $ff = HTML_FlexyFramework::get(); - - $dom = array_pop(explode('@', $p->email)); + $explode_email = explode('@', $p->email); + $dom = array_pop($explode_email); $mxs = $this->mxs($dom); $ww = clone($w); @@ -346,7 +346,7 @@ class Pman_Core_NotifySend extends Pman $this->errorHandler(date('Y-m-d h:i:s') . " - FAILED - GAVE UP TO OLD - {$p->email} \n"); } - print_r($w);exit; + $w->to_email = $p->email; //$this->addEvent('NOTIFY', $w, 'GREYLISTED ' . $p->email . ' ' . $res->toString());