Posts tagged ‘parsing’

Reading mail using python

There may be a better way to go about this… however this works without requiring too much code.

* Use imapclient to fetch messages.
* Use fetch to get the full message using ‘BODY[]’
* Parse this with email.parser.Parser
* Use walk to pull out the message part (emails contain multiparts)

Victory.

July 20, 2011 at 3:36 pm Leave a comment

A book on parsing

Seems quite complete…

http://www.cs.vu.nl/~dick/PTAPG.html

February 12, 2008 at 2:30 am Leave a comment


June 2017
M T W T F S S
« Nov    
 1234
567891011
12131415161718
19202122232425
2627282930