Re: Parse Email File

Author: Ed Leafe

Posted: 2011-04-14 at 22:32:41

On Apr 13, 2011, at 8:22 AM, Jerry Foote wrote:

> Can anyone point me to a free tool to parse a email message. I was surprised

> at the varieties of ways that messages are composed. I some guidance as to

> how to locate the message, specifically what defines the start and end of a

> message. I can see all of the tags for From, To, Subjects, For and some

> others I'm not interested in.

OK, I gave everyone a couple of days to chime in, but since they didn't...

Use Python! It has an email module that handles all of that stuff for you! http://docs.python.org/library/email.html

(OK, you *knew* that was coming, right?)

-- Ed Leafe

_______________________________________________

Post Messages to: ProFox@leafe.com

Subscription Maintenance: http://leafe.com/mailman/listinfo/profox

OT-free version of this list: http://leafe.com/mailman/listinfo/profoxtech

Searchable Archive: http://leafe.com/archives/search/profox

This message: http://leafe.com/archives/byMID/profox/E1B6A0AF-5DC2-47D9-B950-6F7C56FA3F17@leafe.com

** All postings, unless explicitly stated otherwise, are the opinions of the author, and do not constitute legal or medical advice. This statement is added to the messages for those lawyers who are too stupid to see the obvious.

©2011 Ed Leafe