I am working for MGC ltd. and we would like to use our office365 company email in your application but there is problem when we try to test email.
This is the message we are getting:
<220 AM4P190CA0022.outlook.office365.com Microsoft ESMTP MAIL Service ready at Wed, 15 Mar 2017 20:24:28 +0000
<250-AM4P190CA0022.outlook.office365.com Hello [**************]
SMTP Send mail.
<530 5.7.57 SMTP; Client was not authenticated to send anonymous mail during MAIL FROM
SMTP Send mail Failed.
winsock:Receive::Error.:error:(0x00002745):An established connection was aborted by the software in your host machine.
From this error message we can see that client is not authenticated. Those credentials we are using are correct, we are using them to connect to our Office365 account, and in our web application. We tried with both ports 587 and 995, but we couldn't establish a connection. Is there possible solution for our problem, is this some kind of bug or office365 is not supported? We would like to use your software, but we would like to use our office365 email also.