NotifySend.php
authorAlan <alan@roojs.com>
Fri, 6 Oct 2023 05:25:19 +0000 (13:25 +0800)
committerAlan <alan@roojs.com>
Fri, 6 Oct 2023 05:25:19 +0000 (13:25 +0800)
NotifySend.php

index d183e73..6302742 100644 (file)
@@ -515,6 +515,11 @@ class Pman_Core_NotifySend extends Pman
             $ev = $this->addEvent('NOTIFYFAIL', $w, ($fail ? "FAILED - " : "RETRY TIME EXCEEDED - ") .  $errmsg);
             $w->flagDone($ev, '');
             
+            if ($res->userinfo['smtpcode'] == 550) {
+                $this->server->parseResponse($errmsg, $core_domain);
+            }
+            
+
             $this->errorHandler( $ev->remarks);
         }