Open kriiv opened 2 years ago
For the moment, I'm looking through $inbound->Headers and grabbing "Received SPF" full record manually. :)
$json = json_decode(file_get_contents('php://input'));
foreach($json->Headers as $header) {
if($header->Name == 'Received-SPF') {
return $header->Value;
}
}
Hi,
In the readme, for some reason
Received-SPF
is listed twice under Headers.I am wanting to get the full value of "Received-SPF" to then parse and get the sender IP address. Currently it returns pass, neutral or fail, as described.
Is there an easy way to get the full record?
Many thanks, Martin