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 was containing:

Content-Disposition: attachment;
 filename=text.txt

>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.

Thanks,
Jiba
-- 
http://mail.python.org/mailman/listinfo/python-list

Reply via email to