
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-23-2023 06:57 AM - edited 10-24-2023 05:51 AM
Certain of our sys_emails have attachments that have nested attachments within them. We are needing to parse one of those nested attachments for one of our use cases.
How do we parse a nested attachment? Please advise, thanks!
Use Case
Emails to/from ServiceNow have "Watermarks" in them - REF numbers at the bottom of the email - that appear in the email. When our ServiceNow sends an email to an undeliverable email address, we get back an email that has another email - some sort of summary page - attachmed which has the original watermarked message as a nested attachment in that attached email; an attachment within an attachment. We know how to parse the sys_email's top-level attachment - which is the summary email - but we don't know how to parse that attachment's nested attachment instead.
Solved! Go to Solution.
- Labels:
-
Scripting and Coding

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-30-2023 12:42 PM
Apparently GlideSysAttachment was already parsing the nested attachments and so the REF number was already coming across our parser but we just didn't realize it. That was a nice surprise!

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-30-2023 12:42 PM
Apparently GlideSysAttachment was already parsing the nested attachments and so the REF number was already coming across our parser but we just didn't realize it. That was a nice surprise!