projects
/
Pman.Core
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
f60436d
)
fix bad domains
author
Alan
<alan@roojs.com>
Wed, 9 Aug 2023 09:15:53 +0000
(17:15 +0800)
committer
Alan
<alan@roojs.com>
Wed, 9 Aug 2023 09:15:53 +0000
(17:15 +0800)
NotifySend.php
patch
|
blob
|
history
diff --git
a/NotifySend.php
b/NotifySend.php
index
7475f7a
..
701c1cb
100644
(file)
--- a/
NotifySend.php
+++ b/
NotifySend.php
@@
-334,7
+334,7
@@
class Pman_Core_NotifySend extends Pman
$retry = 240;
}
$retry = 240;
}
- if (
$mxs === false
) {
+ if (
empty($mxs)
) {
// only retry for 1 day if the MX issue..
if ($retry < 240) {
$this->addEvent('NOTIFY', $w, 'MX LOOKUP FAILED ' . $dom );
// only retry for 1 day if the MX issue..
if ($retry < 240) {
$this->addEvent('NOTIFY', $w, 'MX LOOKUP FAILED ' . $dom );
@@
-350,7
+350,7
@@
class Pman_Core_NotifySend extends Pman
$w->event_id = $ev->id;
$w->to_email = $p->email;
$w->update($ww);
$w->event_id = $ev->id;
$w->to_email = $p->email;
$w->update($ww);
- $this->errorHandler(date('Y-m-d h:i:s') . " - FAILED - BAD
EMAIL
- {$p->email} \n");
+ $this->errorHandler(date('Y-m-d h:i:s') . " - FAILED - BAD
DOMAIN
- {$p->email} \n");
}
}