You are currently reviewing an older revision of this page.
An SMTP server is set up to be used with Appian. Appian is configured for either:
conf.mailhandler.mail.smtp.auth=true
custom.properties
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:
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:
conf.mailhandler.mail.user
conf.password.SMTP
password.properties
The following are both true when configured for polling an email account:
conf.mailhandler.poller.EmailHandlerBean.userName
conf.password.EmailHandlerBean.EMAIL_HANDLER
Some special characters within password.properties need to be escaped when used in:
Appian is aware that the character , needs to be escaped in the conf.password.SMTP field.
,
If it is determined a special character needs to be escaped, add the characters \\ in front of the special character.
\\
conf.password.SMTP=password\\,withcomma
If it is unsure a special character needs to be escaped:
This article applies to all Appian versions 17.2 and newer.
Last Reviewed: November 2018