Sending an email with a large attachment to a process in Appian Cloud fails. The total size of the email is less than the 25 MB limit for Appian Cloud. The application server log prints the following error:
ERROR com.appiancorp.process.engine.UnattendedJavaActivityRequest - An error occurred while executing activity: id=7652, classname=com.appiancorp.process.runtime.activities.SendEmailActivity com.appiancorp.suiteapi.process.framework.ActivityExecutionException: Failed to process attachments
Caused by: com.appian.komodo.api.exceptions.SignalException: E106
This is due to the overhead in encoding the email attachments. The 25 MB limit is based on the encoded message size, not the original or raw file size. The encoding adds about 33% overhead. Due to this, depending on the attachment the practical limit is around 18 MB.
Try compressing the attachment or use a file share system instead.
This article applies to all versions of Appian Cloud.
Last Reviewed: September 2019
© 2019 Appian. All rights reserved.