Limit email attachment size
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-25-2014 11:23 AM
Hi Everyone,
Does anyone know of a way to limit the attachment size in an email message? Our mail system allows up to 10MB. The other day an approval had a document that was over 20 MB attached to it. This caused the system to error out with a send-failed message and the user never received the approval message.
What I would like to happen is:
If an email message is over 10 MB, strip out any and all attachments and add a note to the body informing the recipient that the message contained attachments that were too large to be delivered, and to log-in to the system to view them.
Any ideas?
Thanks!

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-25-2014 11:31 AM
Check here for settings: http://wiki.servicenow.com/index.php?title=Email_Attachment_Limits
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-09-2014 12:31 PM
Thanks, I just upgraded my dev instance to Eureka Patch 6 to be able to use those properties. Do you know if it would then be possible to add a message to the outgoing email that lets the recipient know that an attachment has been stripped from email, and is only available by viewing the record? It is currently being logged that the maximum attachment size was exceeded, but I don't see where that is being logged from.
Thanks!

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-09-2014 12:34 PM
Adam,
It seems that when an inbound message exceeds the limit, it creates a log message. It may be useful to see if you can find an event (I'm not sure of the top of my head if it does) that is triggered when this happens. If so, you could build a notification that triggers when that event is called. If not, then you can take a look at the log and see if it's unique. If it is, then you could create a notification on the System Log table that is triggered by that unique value.
I hope this helps, let me know if you need further clarification!

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-09-2014 12:38 PM
Looks like glide.email.outbound.max_total_attachment_size_bytes property handles the outbound attachment but >10mb attachment in an email - might not be accepted by some email servers.
If it's to large, a message gets logged in System log and probably events.