cancel
Showing results for 
Search instead for 
Did you mean: 

‘Natively’ reading an offline ‘.eml’ file

stepher
Level 6

This is one of those questions where I think I already know the answer, but I am really hoping that someone can dissuade me from this path.

Is there a way to ‘natively’ read an ‘.eml’ file (saved offline)?

My preferred option, ‘Microsoft 365 – Outlook’, can save an email as an ‘.eml’ file, but does not seem to be able to read from the same file.  The MS Outlook VBO does process offline ‘.msg’ files, but there is converting between the two formats, and, really, we are trying to get away from needing Outlook installed on our Runtimes as a long-term goal.

So… my current path, and I can already feel my skin itching, is to take the ‘.eml’ file and read it as a text file. Then, using some combination of RegEx and text logic, parse out the bits and pieces that I need.  It would all be there, but so would all the MIME, SMTP and other esoterica that I would rather not see.  Plus, I am already bracing for the fact that each Sender has their own term for concepts (‘Your Purchase Order’, ‘Your PO Number’, ‘PO#’, etc.), which just adds to the fun.

Anyway, if you have any ideas, I would be grateful.

Thanks much,

Red

Robert "Red" Stephens Application Developer, RPA Sutter Health Sacramento, CA
0 REPLIES 0