Hey Everyone,
I have a client whose portal email capability I need to update, and their org uses Office 365. They don't currently have an SMTP server, and since Microsoft deprecated basic auth for SMTP, I can't simply use smtp.office365.com on port 25 with user/password anymore.
I'm wondering, has anyone here set up Portal to use emailing through Office 365 and how did you configure it? Thanks!
- Jack C.
Hey @JackC
I integrated it in the exact way you mention, but with a different port, could you try this out here:
I think 587 is the desired port to use now.
Cody
Hey Cody,
Thanks for the reply! After posting this, I tried 587 as well. It failed for me so I looked at the browser network tab and saw this error message:
AuthenticationFailedException: 535 5.7.139 Authentication unsuccessful, SmtpClientAuthentication is disabled for the Tenant. Visit https://aka.ms/smtp_auth_disabled for more information. [BYAPR08CA0039.namprd08.prod.outlook.com 202...
So it seems I just need IT to investigate!
- Jack C.
Hey @JackC
Ah alright I see, definitely appears that SMTP is disabled on the administration side of the Office 365 environment you're in. The link in the error will guide your IT in enabling the SMTP client for the specific email account that you'd need. Once that's enabled, then the port should allow for the traffic to come through, ours was not enabled by default so we didn't run into that exact issue.
Cody