Asp Forum
Home
|
Login
|
Register
|
Search
Forums
>
comp.lang.python
smtplib & gnupg
Brot
2/20/2008 2:26:00 PM
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
2 Answers
Shane Geiger
2/20/2008 3:22:00 PM
0
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
sgeiger@ncee.net | 402-438-8958 |
http://ww...
Leading the Campaign for Economic and Financial Literacy
Miki
2/21/2008 3:58:00 AM
0
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-g...
might help.
HTH,
--
Miki <miki.tebeka@gmail.com>
http://pythonwise.bl...
Servizio di avviso nuovi messaggi
Ricevi direttamente nella tua mail i nuovi messaggi per
smtplib & gnupg
Inserendo la tua e-mail nella casella sotto, riceverai un avviso tramite posta elettronica ogni volta che il motore di ricerca troverà un nuovo messaggio per te
Il servizio è completamente GRATUITO!
x
Login to ForumsZone
Login with Google
Login with E-Mail & Password