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,