From e68179c75268225ccac72802704924b9671d1da6 Mon Sep 17 00:00:00 2001 From: the-djmaze <> Date: Tue, 4 Jun 2024 13:22:23 +0200 Subject: [PATCH] Add `dateTimestampSource` for #1554 --- snappymail/v/0.0.0/app/libraries/MailSo/Mail/Message.php | 2 ++ 1 file changed, 2 insertions(+) diff --git a/snappymail/v/0.0.0/app/libraries/MailSo/Mail/Message.php b/snappymail/v/0.0.0/app/libraries/MailSo/Mail/Message.php index b63be576c..8f6668704 100644 --- a/snappymail/v/0.0.0/app/libraries/MailSo/Mail/Message.php +++ b/snappymail/v/0.0.0/app/libraries/MailSo/Mail/Message.php @@ -506,7 +506,9 @@ class Message implements \JsonSerializable 'spamScore' => $this->bIsSpam ? 100 : $this->SpamScore, 'spamResult' => $this->sSpamResult, 'isSpam' => $this->bIsSpam, + // RainLoop had the date_from_headers option 'dateTimestamp' => $this->iHeaderTimeStampInUTC ?: $this->iInternalTimeStampInUTC, + 'dateTimestampSource' => $this->iHeaderTimeStampInUTC ? 'header' : 'internal', // \MailSo\Mime\EmailCollection 'from' => $this->oFrom,