By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
440,676 Members | 2,262 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 440,676 IT Pros & Developers. It's quick & easy.

acessing to the raw data of an email message

P: n/a
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 thesignature 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
Nov 26 '06 #1
Share this Question
Share on Google+
1 Reply


P: n/a
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?

</F>

Nov 26 '06 #2

This discussion thread is closed

Replies have been disabled for this discussion.