Question
WordPress Marketplace Droplet and Office365 SMTP - StartTLS is needed
So, I’ve migrated a site into a DO droplet, and everything seems fine, for the most part.
Except, whenever I try to send an email via the Office365 mail servers, I get the error message of “StartTLS is needed” using the Post SMTP plugin. I have tried WP Mail SMTP as well, but that just kicked out a lot of numbers (I cannot understand that).
Ports 25 and 587 are open, and I can even send emails from the droplet myself via CLI, but these need to be routed through Office365 and I’m not sure what needs fixing.
Once I rewewed the certs using certbot, it gave me a link to check the TLS, and it says I am ready for 1.3.
These answers are provided by our Community. If you find them useful, show some love by clicking the heart. If you run into issues leave a comment, or add your own answer to help others.
×
Update: no sooner had I posted this, I figured out some changes needed.
I cannot say why WP Mail SMTP didn’t work, but for Post SMTP, I simply had to enable the login details and make sure they were saved properly.