mirror of
https://github.com/the-djmaze/snappymail.git
synced 2026-11-03 02:48:49 +03:00
dkim use str_contains instead of strpos
This commit is contained in:
parent
6cd36e0752
commit
b02b28f26b
1 changed files with 1 additions and 1 deletions
|
|
@ -299,7 +299,7 @@ class Message implements \JsonSerializable
|
||||||
foreach ($oMessage->oFrom as $oEmail) {
|
foreach ($oMessage->oFrom as $oEmail) {
|
||||||
$sEmail = $oEmail->GetEmail();
|
$sEmail = $oEmail->GetEmail();
|
||||||
foreach ($aAuth['dkim'] as $aDkimData) {
|
foreach ($aAuth['dkim'] as $aDkimData) {
|
||||||
if (\strpos($sEmail, $aDkimData[1])) {
|
if (\str_contains($sEmail, $aDkimData[1])) {
|
||||||
$oEmail->SetDkimStatus($aDkimData[0]);
|
$oEmail->SetDkimStatus($aDkimData[0]);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue