In my previous question I was asking on how to configure gmail for sending email, I figured it out myself and it works. This time I want to send using Office 365. It's the same menu under: Webmin -> Webmin configuration -> Sending Email, just changed the fileds from gmail to Office 365. Here's a screenshot: https://ibb.co/gE12E7 I tried changing "SMTP authentication method" to either "Plain" and "Login", but unfortunately neither works and I get:
"Sending message from firstname.lastname@example.org to email@example.com ..
.. sending failed : SMTP command failed : . ".
How to configure the email settings correctly?