mirror of
https://github.com/the-djmaze/snappymail.git
synced 2026-07-13 03:27:39 +03:00
Different solution for #162
This commit is contained in:
parent
2d110f6146
commit
fd2304edcf
2 changed files with 2 additions and 2 deletions
|
|
@ -116,7 +116,7 @@ class MailClient
|
||||||
\MailSo\Mime\Enumerations\Header::LIST_UNSUBSCRIBE,
|
\MailSo\Mime\Enumerations\Header::LIST_UNSUBSCRIBE,
|
||||||
// SPAM
|
// SPAM
|
||||||
\MailSo\Mime\Enumerations\Header::X_SPAM_STATUS,
|
\MailSo\Mime\Enumerations\Header::X_SPAM_STATUS,
|
||||||
// \MailSo\Mime\Enumerations\Header::X_SPAM_FLAG,
|
\MailSo\Mime\Enumerations\Header::X_SPAM_FLAG,
|
||||||
\MailSo\Mime\Enumerations\Header::X_SPAMD_RESULT,
|
\MailSo\Mime\Enumerations\Header::X_SPAMD_RESULT,
|
||||||
\MailSo\Mime\Enumerations\Header::X_BOGOSITY,
|
\MailSo\Mime\Enumerations\Header::X_BOGOSITY,
|
||||||
// Virus
|
// Virus
|
||||||
|
|
|
||||||
|
|
@ -466,7 +466,7 @@ class Message implements \JsonSerializable
|
||||||
$this->sSpamResult = "{$value[1]} / {$required[1]}";
|
$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');
|
$this->bIsSpam = false !== \stripos($spam, 'YES');
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue