A mail server is set up to be used with Appian. Appian is configured for either:
When configured for SMTP server authentication, the following error message is seen in the application server log:
ERROR com.appiancorp.process.runtime.activities.SendEmailActivity - javax.mail.AuthenticationFailedException: 535 5.7.8 Error: authentication failed: authentication failure
When configured for polling an email account, the following error message is seen mail-listener.log:
ERROR com.appiancorp.process.emailpoller.MailActivation - An error occurred while attempting to open the mailbox to poll; no mail will be fetched. javax.mail.AuthenticationFailedException: Authentication failed.
The following are both true when configured for SMTP server authentication:
The following are both true when configured for polling an email account:
Some special characters within password.properties need to be escaped when used in:
The characters which need to be escaped may vary depending on the mail server being used. For example, it is known that the character , needs to be escaped.
If it is determined a special character needs to be escaped, add the characters \\ in front of the special character.
Some special characters do not need to be escaped. To test if a special character needs to be escaped when authentication is failing:
This article applies to Appian 17.2 and later.
Last Reviewed: December 2018
© 2019 Appian. All rights reserved.