We need to use Office 365 to send email from one of our Azure VM.
Please kindly guide us for the same (Ex: Port need to open at VM level, settings need to use with Office 365).
Just for your information we are getting the following error message.
Message could not be sent. Mailer Error: SMTP connect() failed.
Test URL: https://api.dryfishofnorway.com/