Hello everyone!
I have a problem which ive been working on for days.
I am really hoping that someone could help me out.
I use Odoo SH and it is important that I can send e-mails with Office 365 in Odoo 15, but setting it up does not go smoothly.
I have currently created a relay in Exchange Online that contains the ip address of Odoo.
According to the following page, I need to use Microsoft's guide to properly use the relay:
https://www.odoo.com/documentation/saas-15.2/nl/applications/general/email_communication/email_servers.html
which redirects to Microsoft's link to create and use the relay:
https://docs.microsoft.com/nl-nl/Exchange/mail-flow-best-practices/how-to-set-up-a-multifunction-device-or-application-to-send-email-using- microsoft-365-or-office-365?redirectSourcePath=%252fen-us%252farticle%252fHow-to-set-up-a-multifunction-device-or-application-to-send-email-using-Office-365-69f58e99 -c550-4274-ad18-c805d654b4c4
The problem is that microsoft instructs to use the following information in my client (in this case Odoo.)
Server/smart host:
yourdomain-com.mail.protection.outlook.com
Port: Port 25
TLS/StartTLS: Enabled
But again in the link from Odoo it is stated that port 25 is blocked which is actually the case.
At this point, Odoo's page is contradicting itself.
It is very important to me that I can use the relay in this way and do not have to provide user credentials.
How can I solve this?