combining mailbox and email modules

James J. Besemer jb at
Sat Sep 28 04:07:16 EDT 2002

François Granger wrote:

>Bob Horvath <nospam at> wrote:
>>The problem is that it looks good to me.  I've played around with 
>>it, and if I take out the MIME gunk (It actually is a Klez virus), 
>>it parses ok.
>I have had difficulties with the handling of multipart message with the
>email package. I did not found a solution yet.
My experience is that a lot of Spam violates Mime rules.  Often they 
omit the end marker, I guess relying on EOF to terminate the message. 
 Then the python packages can't parse any of the remaining messages.


James J. Besemer		503-280-0838 voice
2727 NE Skidmore St.		503-280-0375 fax
Portland, Oregon 97211-6557	mailto:jb at	

More information about the Python-list mailing list