SMTP relay using Exchange Online (O365)

Hello,

We're running on OutSystems 11.12.1, and SMTP relay (using our on-premise Exchange server) is working.

We're migrating to Exchange Online and we're now configuring all our devices and apps to use O365 to send messages; all devices (copiers/printers) now use O365 to send messages, reports, etc. to our users. The same process is working for some in-house apps.

I'm now using smtp.office365.com for SMTP server, and port 587. Username is an O365 account, and password I'm using an application password. Account credentials (both application password and account password) do work, and I've been able to test both credentials from different Windows and MacOS applications, so I'm sure credentials isn't an issue.

Has anyone in the community been able to get this configuration to work?


Community GuidelinesBe kind and respectful, give credit to the original source of content, and search for duplicates before posting.