You are currently reviewing an older revision of this page.
A mail server is set up to be used with Appian. Appian is configured for either:
conf.mailhandler.mail.smtp.auth=true
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
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:
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.
\\
conf.password.SMTP=password\\,example
Some special characters do not need to be escaped. If it is unsure if a special character needs to be escaped:
This article applies to Appian 17.2 and later.
Last Reviewed: November 2018