mirror of
https://github.com/the-djmaze/snappymail.git
synced 2026-09-08 17:07:03 +03:00
Add dateTimestampSource for #1554
This commit is contained in:
parent
ba46e995cd
commit
e68179c752
1 changed files with 2 additions and 0 deletions
|
|
@ -506,7 +506,9 @@ class Message implements \JsonSerializable
|
||||||
'spamScore' => $this->bIsSpam ? 100 : $this->SpamScore,
|
'spamScore' => $this->bIsSpam ? 100 : $this->SpamScore,
|
||||||
'spamResult' => $this->sSpamResult,
|
'spamResult' => $this->sSpamResult,
|
||||||
'isSpam' => $this->bIsSpam,
|
'isSpam' => $this->bIsSpam,
|
||||||
|
// RainLoop had the date_from_headers option
|
||||||
'dateTimestamp' => $this->iHeaderTimeStampInUTC ?: $this->iInternalTimeStampInUTC,
|
'dateTimestamp' => $this->iHeaderTimeStampInUTC ?: $this->iInternalTimeStampInUTC,
|
||||||
|
'dateTimestampSource' => $this->iHeaderTimeStampInUTC ? 'header' : 'internal',
|
||||||
|
|
||||||
// \MailSo\Mime\EmailCollection
|
// \MailSo\Mime\EmailCollection
|
||||||
'from' => $this->oFrom,
|
'from' => $this->oFrom,
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue