acessing to the raw data of an email message
jibalamy at free.fr
Sun Nov 26 19:34:56 CET 2006
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 was containing:
From the RFC point of view, both are equivalent. However, when checking the signature using GPG, there are not the same for GPG, and thus the check fails.
Does anyone have an idea ? I think it would be nice to let the parser add the raw message data in the Message object.
More information about the Python-list