You are currently reviewing an older revision of this page.

DRAFT KB-XXXX Send Email Smart Service fails to send emails for some processes

Symptoms

When sending emails using the Send Email Smart Service, some emails fail with the following error present in the application server log:

ERROR com.appiancorp.ap2.mail.Mail - Could not send mail via <SMTP_SERVER>:<smtp_port> to
ERROR com.appiancorp.process.runtime.activities.SendEmailActivity - com.sun.mail.smtp.SMTPSendFailedException: 432 4.3.2 STOREDRV.ClientSubmit; sender thread limit exceeded [Hostname=<HOSTNAME>]
com.sun.mail.smtp.SMTPSendFailedException: 432 4.3.2 STOREDRV.ClientSubmit; sender thread limit exceeded [Hostname=<HOSTNAME>]

Cause

This error appears when using Microsoft Exchange Online. Since June 1, 2018, their SMTP Authenticated Submission protocol has been changed in order to only allow three concurrent connections to the service per mailbox. Additional connections are rejected with the above error.

The complete documentation regarding this limit can be found on this page.

Action

To avoid this error:

  • Use another mail server that can handle more concurrent connections.
  • If the issue is happening on a Cloud environment, use the Appian Cloud mail server instead of an external mail server.

Affected Versions

This article applies to all versions of Appian.

Last Reviewed: August 2019