Notify.php wip_alan_T7767_active_requeue_domains
authorAlan <alan@roojs.com>
Wed, 9 Aug 2023 09:00:38 +0000 (17:00 +0800)
committerAlan <alan@roojs.com>
Wed, 9 Aug 2023 09:00:38 +0000 (17:00 +0800)
Notify.php

index e1a86b8..5dd8a0b 100644 (file)
@@ -574,6 +574,11 @@ class Pman_Core_Notify extends Pman
     
     function pushQueueDomain($e, $email)
     {
+        if ($this->domain_queue === false) {
+            $this->next_queue[] = $e;
+            return;
+        }
+        
         $ea = explode('@',$email);
         $dom = strtolower(array_pop($ea));
         if (!isset($this->domain_queue[$dom])) {