From 909d69d9926aba2dc16333587f511de82f6bd4ab Mon Sep 17 00:00:00 2001 From: edward Date: Thu, 14 Jul 2016 14:48:04 +0800 Subject: [PATCH] NotifySend.php --- NotifySend.php | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/NotifySend.php b/NotifySend.php index 39aa4a67..63870e46 100644 --- a/NotifySend.php +++ b/NotifySend.php @@ -403,7 +403,10 @@ class Pman_Core_NotifySend extends Pman "); if($core_notify->count() >= $settings['rate']){ - + $old = clone($w); + $w->act_when = date("Y-m-d H:i:s", strtotime('+1 HOUR')); + $w->update($old); + $this->errorHandler(date('Y-m-d h:i:s ') . " Too many emails sent by {$dom}"); } $mailer->host = $server; -- 2.39.2