mirror of
https://github.com/the-djmaze/snappymail.git
synced 2025-11-09 23:01:51 +08:00
Resolve #162
This commit is contained in:
parent
863c1d0151
commit
49b6d67c22
2 changed files with 2 additions and 1 deletions
|
|
@ -116,6 +116,7 @@ class MailClient
|
|||
\MailSo\Mime\Enumerations\Header::LIST_UNSUBSCRIBE,
|
||||
// SPAM
|
||||
\MailSo\Mime\Enumerations\Header::X_SPAM_STATUS,
|
||||
// \MailSo\Mime\Enumerations\Header::X_SPAM_FLAG,
|
||||
\MailSo\Mime\Enumerations\Header::X_SPAMD_RESULT,
|
||||
\MailSo\Mime\Enumerations\Header::X_BOGOSITY,
|
||||
// Virus
|
||||
|
|
|
|||
|
|
@ -466,7 +466,7 @@ class Message implements \JsonSerializable
|
|||
$this->sSpamResult = "{$value[1]} / {$required[1]}";
|
||||
}
|
||||
}
|
||||
$spam = $oHeaders->ValueByName(\MailSo\Mime\Enumerations\Header::X_SPAM_FLAG);
|
||||
// $spam = $oHeaders->ValueByName(\MailSo\Mime\Enumerations\Header::X_SPAM_FLAG);
|
||||
$this->bIsSpam = false !== \stripos($spam, 'YES');
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue