Hello,
I believe I am receiving an error related to email attachment file size but the actual message is not descriptive enough for me to be sure.
When attempting to attach files to an email that are of ~3mb each, emails seem to be properly sent, but when I attempt to attach a 25mb 10 second video file, the emails fail to send and I receive errors like the one identified below.
Could someone help me to determine whether this is an issue that’s directly caused by file size? Or if maybe it has to do with the maximum CloudCode execution time? Or some other problem altogether?
Thank you
Backendless Version (3.x / 5.x, Online / Managed / Pro )
Online Cloud 99 trial - not sure if 3.x or 5.x
Client SDK (REST / Android / Objective-C / Swift / JS )
Java CloudCode
Application ID
73AE4526-D543-4DFD-9527-5CD98C67BB53
Expected Behavior
Please describe the expected behavior of the issue, starting from the first action.
- Use Backendless.Messaging.sendEmail() to send an email with attachments.
- Email recipient successfully receives email.
Actual Behavior
Please provide a description of what actually happens, working from the same starting point.
- Use Backendless.Messaging.sendEmail() to send an email with attachments.
- Email recipient receives nothing.
- I receive an email telling me that “Error occurred during email sending”
Logs:
2022-12-24 08:22:07,564 | SMTP Logger | DEBUG | Going to send email with subject ‘subject_omitted’ for recipients [recipient_omitted].
2022-12-24 08:22:11,736 | SMTP Logger | ERROR | Error occurred during email sending. Subject ‘subject_omitted’. Recipients [recipient_omitted]. : IOException while sending message
Reproducible Test Case
- Add a file to the Backendless file store of ~25mb and attempt to attach it to an email with the Java CloudCode SDK.