projects
/
Pman.Core
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
d318de0
)
NotifySend.php
author
Alan
<alan@roojs.com>
Wed, 11 Oct 2023 04:26:49 +0000
(12:26 +0800)
committer
Alan
<alan@roojs.com>
Wed, 11 Oct 2023 04:26:49 +0000
(12:26 +0800)
NotifySend.php
patch
|
blob
|
history
diff --git
a/NotifySend.php
b/NotifySend.php
index
6775f5c
..
91bdc7e
100644
(file)
--- a/
NotifySend.php
+++ b/
NotifySend.php
@@
-521,7
+521,11
@@
class Pman_Core_NotifySend extends Pman
}
if ($res->userinfo['smtpcode'] == 550) {
- $this->server->checkSmtpResponse($errmsg, $core_domain);
+ if ($this->server->checkSmtpResponse($errmsg, $core_domain)) {
+ $ev = $this->addEvent('NOTIFY', $w, 'BLACKLISTED - ' . $errmsg);
+ $this->server->updateNotifyToNextServer($w, strtotime('NOW + ' . $retry . ' MINUTES'),true);
+ $this->errorHandler( $ev->remarks);
+ }
}