From: Alan Date: Fri, 13 Oct 2023 04:36:55 +0000 (+0800) Subject: fix message id storage X-Git-Url: http://git.roojs.org/?p=Pman.Core;a=commitdiff_plain;h=063c4bdf724f73daa014d0aca06c26584b3fa838 fix message id storage --- diff --git a/DataObjects/Core_notify.php b/DataObjects/Core_notify.php index 09986327..0997d37e 100644 --- a/DataObjects/Core_notify.php +++ b/DataObjects/Core_notify.php @@ -352,7 +352,7 @@ class Pman_Core_DataObjects_Core_notify extends DB_DataObject $this->act_when = $this->sqlValue('NOW()'); } $this->sent = $this->sent == '0000-00-00 00:00:00' ? $this->sqlValue('NOW()') :$this->sent; // do not update if sent..... - $this->msgid = ''; + $this->msgid = $msgid; $this->event_id = $event->id; $this->update($ww); } diff --git a/NotifySend.php b/NotifySend.php index 34318c04..6c2a3a8b 100644 --- a/NotifySend.php +++ b/NotifySend.php @@ -446,7 +446,7 @@ class Pman_Core_NotifySend extends Pman $ev->writeEventLog($this->debug_str); - $w->flagDone($ev,$email['headers']['Message-Id']); + $w->flagDone($ev, $email['headers']['Message-Id']); // enable cc in notify..