I am having an issue with the Mailer sometimes not sending emails. The email is hosted on Office365 and I have configured SMTP with SSL enabled on Port 587.
When I submit the form (to send a login authentication code), the SA fails with an error Exception message: Authentication failed because the remote party has closed the transport stream
.
This doesn’t happen all the time; the mail is sent out correctly if I try to submit the form a few times, generally 3-4 times, after the repeated errors.
Has anyone else come across this issue with Office365 SMTP and was there any resolution? Any help in resolving this issue is greatly appreciated.