[ninux-not-wireless] Codice Python per inviare un'email

LuX lux at autistici.org
Fri Sep 3 00:30:21 CEST 2010


@Sandro:
come da oggetto, ecco le TRE righe di codice che ti dicevo al FusoLAB:

>>> import smtplib
>>> host=smtplib.SMTP("mail.server.it")
>>> ret=host.sendmail("mittente at dominio.it",
                      "destinatario at dominio.it",
                      "Corpo della mail..")

--
LuX

-------------- next part --------------
A non-text attachment was scrubbed...
Name: PGP.sig
Type: application/pgp-signature
Size: 203 bytes
Desc: Questa รจ un messaggio firmato elettronicamente
URL: <http://ml.ninux.org/pipermail/not-wireless/attachments/20100903/6541df30/attachment-0001.sig>


More information about the Not-wireless mailing list