I wonder if anyone managed to send emails through Office 365 account? I am selecting SMTP and using smtp.office365.com as my SMTP server. All I see is SMTP connect() error. How can I further diagnose this error?
And I am not sure is my password is saved or not. Every time I try to tweak the settings the password field is empty:frowning:
Enabled debug mode but did not see any errors on email sending:confused:
I will mention that the common mistake people make with o365 is the wrong port number or wrong username - The username must be that of a user that is a full user (it can not be a shared mailbox or alias).
Also note when choosing the ‘From’ email address (on the email templates settings page) you must ensure this is a real email address for which that user has full access (otherwise you’ll get an error), you can however use a shared mailbox or alias here.
Hope that points you to where your configuration error is…
The settings were correct however my server was not allowing me to connect an external SMTP server.
I contacted my server provider for this issue and they sorted it out.
If anyone fails on sending emails through external SMTP, first check with your provider:)