How to provide feedback to users for failed outbound emails
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-07-2023 11:22 AM
Hello -
We have had some issues where outbound emails were failing due to one of the following reasons:
Overall email is too big:
- Email is never sent, the sys_email record is in the 'Failed' mailbox
- Error string is: 552 5.3.4 Error: message file too big
Too many attachments:
-Email is Sent
-Warning in the related Email Log: Maximum allowed email attachment count exceeded. (max:30). Email sent without one or more of its attachments.
-Not sure which attachments were not sent?
Attachments too large:
-Email is Sent
-Email Log Warning: Maximum combined attachment size exceeded. (max:18874368 bytes). Email sent without one or more of its attachments.
-Email Attachments section does show the 'discarded' emails that were not sent
In all of these scenarios, there is no OOTB way I can see that we can notify the 'sender' or 'user' that generated the outbound email notification of these failures. They wouldn't know that their outbound email notification never actually sent after updating a record, or if it sent without specific attachments...which attachments didn't send?
I am curious how other customers are handling outbound email issues like this?
I did see a Notification called "Demo Email Attachment(s) Discarded" which: "Notify the sender of an email if any attached files are discarded due to max size/count constraints OR illegal file extensions. Only generate a notification if the original sender is a valid and active user in the instance. ".
This is for Inbound emails with discarded attachments, however I can't find anything in the platform for notifying the users/senders of issues with their outbound emails.
Thanks!

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-08-2023 06:18 AM
Create a business rule on sys_email table and keep a condition state changes to error and type is send-failed. Trigger an event from the script and notify the sender.