To the best of my knowledge, GNUPG acts upon the body of the message. If you think about it you should realize that the header of the message cannot be encrypted, as it will be handled by mail servers that have no knowledge of GNUPG or your encryption keys. I am further emboldened to make this assertion because the encryption takes place before the message is sent--that is, before the headers are completely formed.
Brot wrote: > Hello, > > at the moment my program sends mail with smtplib. Is there a chance to > sign and/or encode/cipher this mails with GnuPG? > If yes, does anyone have some sample code? > > Regards > Bernd > -- Shane Geiger IT Director National Council on Economic Education [EMAIL PROTECTED] | 402-438-8958 | http://www.ncee.net Leading the Campaign for Economic and Financial Literacy -- http://mail.python.org/mailman/listinfo/python-list