Add AuthorizedSenderDomainController class and tests

MAILPOET-4302
This commit is contained in:
Oluwaseun Olorunsola
2022-07-19 23:30:34 +01:00
committed by Veljko V
parent 601b3e775b
commit c961e0a363
4 changed files with 143 additions and 1 deletions

View File

@@ -47,7 +47,7 @@ class DmarcPolicyChecker {
$item = explode('=', $value);
$dKey = $item[0] ?? '';
$dValue = $item[1] ?? '';
$dmarcInfo[trim($dKey)] = trim($dValue);
$dmarcInfo[strtolower(trim($dKey))] = strtolower(trim($dValue));
}
// policy can either be reject or quarantine or none