From: edward Date: Thu, 14 Jul 2016 06:48:04 +0000 (+0800) Subject: NotifySend.php X-Git-Url: http://git.roojs.org/?p=Pman.Core;a=commitdiff_plain;h=909d69d9926aba2dc16333587f511de82f6bd4ab NotifySend.php --- 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;