Integration Error sending an email using Office 365 Mail Server Follow

Avatar
Jasper Wen

BarTender Content Team


Symptom

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 [MWHPR0201CA0071.namprd02.prod.outlook.com]

Environment

BarTender 2016 or higher

Integration Builder and Email Actions

Office 365 Mail Server

Fix/Answer

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.

Image_17.png

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