Option 3 assumes you are sending this from a validated on-prem environment. You can't anonymously relay email from outside of 365 (From AWS in this case ) like that.
SMPT Relay Port 25
Isaac Navarrete
6
Reputation points
Hello!
I followed this process of the Option 3, I want to enable a relay service for notifications from the web app that I own.
The connector is configured correctly, and the SPF in the TXT record is correct as well, but whenever I try to test, I have an error:
Error connecting to ********.mail.protection.outlook.com:25:
*** IO::Socket::INET6: connect: timeout
My application it's hosted in AWS