Hello Bernd,
> 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?
Not exactly Python, but maybe http://codesorcery.net/old/mutt/mutt-gnupg-howto
might help.
HTH,
--
Miki <[EMAIL PRO
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 as