Support Article
Unable to receive mails with attachment size beyond a limit
SA-25346
Summary
Schedule two reports from Case Manager portal report shortcut menu. At the scheduled time, the developer is unable to receive mails for both the reports. That is, only one report along with the attachment is mailed to the configured mail address. The other scheduled report goes to the "Success queue" but the mail is not generated.
Error Messages
Not Applicable.
Steps to Reproduce
1. Schedule two reports from Case Manager portal report shortcut menu that is, one with less number of records (which results in less attachment size to the generated mail) and the other huge number of records.
2. Observe that only one of the mails is delivered to the mail address, which is the scheduled report with less number of records.
Root Cause
The root cause for the issue is the attachment size limitation of the email server at the user end. It allows the emails to be generated only with certain size of attachments.
Attachments beyond a certain limit, doesn't generate mails. Below is the Outbound error message sent by the email server.
An SMTP email that you sent exceeded the size limit on the XXXX mail gateway. The message was not delivered to external addresses.
Resolution
Below is the activity setup which is used to verify whether the issue is related to Email Server limitation.
Create a Binary file in Rule-File-Binary class for attachment purpose.


With the setup made, it is clear that, it is an environment issue(Email Server) which allows the mails to be sent to the configured mail address only when it less or equal to some limit.
It is suggested to schedule reports only upto the attachment limit that is allowable by the email server.
Published July 18, 2016 - Updated October 8, 2020
Have a question? Get answers now.
Visit the Collaboration Center to ask questions, engage in discussions, share ideas, and help others.