Tag: parsing
-
posts
-
Parsing email with attachments in python
Recently I needed to be able to parse out attachments and body from multipart emails and use the resulting data to post to a service. So I wrote the code below to parse out text and html portions of the email and also parse out attachments. The c...