I am trying to get the Play Mailer plugin to work with an office 365 email account but receive the following error:
Sending the email to the following server failed : smtp.office365.com:995]
Using MS recommended settings we have tried:
SMTP
play.mailer {
host="smtp.office365.com"
port=995
ssl=yes
tls=no
user="XXXX@XXXX.com"
password=“XXXXX
}
play.mailer {
host="smtp.office365.com"
port=587
ssl=no
tls=yes
user="XXXX@XXXX.com"
password="XXXXX"
}
IMAP:
We also attempted to use IMAP settings
play.mailer {
host="outlook.office365.com"
port=993
ssl=yes
tls=no
user="XXXX@XXXX.com"
password="XXXXX"
}
Any help would be fantastic.
I just don't think that play mailer works. There doesn't seem to be any working examples of this anywhere and as it's 2017 - it's probably been deprecated now anyway.