From ac61c62c73ab96f7926f06fcb6f7625d784e6860 Mon Sep 17 00:00:00 2001 From: Alan Knowles Date: Fri, 4 Aug 2017 14:51:58 +0800 Subject: [PATCH] NotifySend.php --- NotifySend.php | 1 + 1 file changed, 1 insertion(+) diff --git a/NotifySend.php b/NotifySend.php index 842dde03..16864b16 100644 --- a/NotifySend.php +++ b/NotifySend.php @@ -350,6 +350,7 @@ class Pman_Core_NotifySend extends Pman $w->to_email = $p->email; //$this->addEvent('NOTIFY', $w, 'GREYLISTED ' . $p->email . ' ' . $res->toString()); + // we can only update act_when if it has not been sent already (only happens when running in force mode..) $w->act_when = $w->sent == '0000-00-00 00:00:00' ? date('Y-m-d H:i:s', strtotime('NOW + ' . $retry . ' MINUTES')) : $w->act_when; $w->update($ww); -- 2.39.2