Hi Community,
I’m struggling to find a way to capture messages in an outlook message file, .eml. In the attached workflow I’m able to flag some fields; Date, Subject, From, and To. Where it gets tricky is that the message part is different based on if there is an attachment and encoding, so far I’ve identified 3 in my population:
- Content-Transfer-Encoding: 7bit
- Content-Transfer-Encoding: quoted-printable
- Content-Transfer-Encoding: base64
Based on these types the message will be in different locations such as:
- Example 1
- Content-Transfer-Encoding: 7bit
- MIME-Version: 1.0
-
- Approved
- Example 2
- Content-Transfer-Encoding: quoted-printable
- MIME-Version: 1.0
-
- Regarding our hope for a dashboard- Are you able to get the AD =
- listing? I haven't heard back on the OT listing but I think is =
- reaching out on that one.
- Example 3
- MIME-Version: 1.0
-
- ----_NmP-90e4a698bc387d49-Part_1
- Content-Type: text/plain
- Content-Transfer-Encoding: 7bit
-
- can you guess which folder
-
- ----_NmP-90e4a698bc387d49-Part_1
- Content-Type: image/png; name=981a50e7-ae12-4c29-a86c-55c837336631.PNG
- Content-Transfer-Encoding: base64
- Content-Disposition: attachment;
- filename=981a50e7-ae12-4c29-a86c-55c837336631.PNG
My goal is to create a batch macro to extract the following fields of the messages; Date, Subject, From, To, Message, and Attachment name (if found).
Can you help figure out how to capture that moving target ‘Message’ field? In the zip file, rename the files with a .eml extension.