Re: acessing to the raw data of an email message

2006-11-26 Thread Fredrik Lundh
Jiba wrote: > Does anyone have an idea ? I think it would be nice to let the > parser add the raw message data in the Message object. since you're the one passing the raw data to the email parser, maybe you could store it somewhere yourself? -- http://mail.python.org/mailman/listinfo/python

acessing to the raw data of an email message

2006-11-26 Thread Jiba
Hi, I'm using the email Python package for parsing mail and checking GPG signature. The Message object doesn't store the raw message data. Message.as_string "rebuild" the whole message, for example it may gives: Content-Disposition: attachment; filename=text.txt whereas the original message wa