Async email size limits and configuration
The size of email messages processed through Async is calculated and validated against a maximum size limit. Email servers typically enforce size limits that range from 10 MB to 50 MB, and email messages that exceed these thresholds are not delivered. When this occurs, this error message is displayed on the email form or Async trigger status:
The email message size exceeds the size limit (maximum size limit value).
By default, Landmark has a 10 MB email size limit with a 256 KB overhead, but you can adjust or disable these limits by setting these configuration parameters:
| Component | Parameter key | Description |
|---|---|---|
| email.message.size.limit.mb | Defines the email message size limit in MB, based on the lowest limit of the sending and receiving email servers. The default value is 10 MB. | |
| email.message.overhead.size.kb | Defines the email size overhead, accounting for mail headers and size increases due to encryption. This value is subtracted from the total email size limit and may vary by mail server. The default value is 256 KB. | |
| disable.email.message.size.limit.check | Disables the email size limit validation for all business classes. | |
| disable.email.message.size.limit.check.<busclass> | Disables the email size limit validation for all send email actions in a specific business class. | |
| disable.email.message.size.limit.check.<busclass>.<actionname> | Disables the email size limit validation for a specific action within a business class. |