projects
/
Pman.Core
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
7f3d6b8
)
NotifySend.php
author
edward
<edward@roojs.com>
Thu, 14 Jul 2016 06:48:04 +0000
(14:48 +0800)
committer
edward
<edward@roojs.com>
Thu, 14 Jul 2016 06:48:04 +0000
(14:48 +0800)
NotifySend.php
patch
|
blob
|
history
diff --git
a/NotifySend.php
b/NotifySend.php
index
39aa4a6
..
63870e4
100644
(file)
--- 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;