Forum Discussion

edkallen's avatar
edkallen
Occasional Contributor
9 months ago

Sending email via Office365 SMTP server

We've been using SendMail() (in JavaScript) to send emails via an Office365 SMTP server in the cloud. Everything is working fine right now, but for security we have to switch to allowing authenticated emails only. Which means I have to specify a password. SendMail() doesn't provide that functionality, so I'm looking at CDO, but MicroSoft hasn't supported CDO since Office 2007 (17 years!!), so that sounds really questionable. I also understand that TLS isn't supported by CDO anyway.

What is the real path forward here?

Thank you!