Integration Error sending an email using Office 365 Mail Server Follow


BarTender Content Team


When trigger an Integration to execute an email action, it fails to send out an email and you get the following error:

The SMTP server requires a secure connection or the client was not authenticated. The server response was: 5.7.57 SMTP; Client was not authenticated to send anonymous mail during MAIL FROM []


BarTender 2016 or higher

Integration Builder and Email Actions

Office 365 Mail Server


In the Integration file, make sure the account and connection settings are set correctly for the email action. In this case for the error, make sure you are specifying your domain in the user name. It should look something like this.


More Information

Email Server settings for Outlook - This Microsoft support article provides information about the server name, ports, and encryption you would need to set for IMAP, POP, and SMTP.

Do you have feedback or questions on this article? We encourage you to post them on our Community Forums