Reputation: 588
I have configured office 365 for sending email from my application. Email is sent successfully, but when I check in received email header it shows me like Received-SPF: Fail (protection.outlook.com: domain of mydomain.com does not designate 192.185.45.210 as permitted sender). I have change SPF in my domain like
v=spf1 a mx include:spf.protection.outlook.com -all
but still, I got the same error message in the email. I have also try below code too.
v=spf1 include:spf.protection.outlook.com include:mydomain2.com -all
and there is also message like
Received: from gateway21.websitewelcome.com
why websitewelcome.com is there though I am not using this type of setting in my whole application. I have integrated office365 email account in laravel application.
Upvotes: 0
Views: 2372
Reputation: 37810
The IP it's complaining about does belong to websitewelcome.com, presumably because your site is hosted there, so I suggest you add their SPF too:
v=spf1 a mx include:spf.protection.outlook.com include:websitewelcome.com -all
It's always worth checking your SPF on Scott Kitterman's site.
Upvotes: 1