how to use smtp starttls() encryption?

Xu, C.S. xucs007 at yahoo.com
Fri Oct 11 03:19:37 CEST 2002


Hello,

My web space provider recently enforced TLS encryption for
their SMTP server, now I (with a dial-up connection, no fix
DNS name for my machine) just can't use this server to send
out emails in python.

I saw the smtp module has a starttls() method, but no clue
about how to use it.

Anybody can teach me? Previously I can just use the
smtp.login(user, password) to authenticate my machine
before sending out emails.

Thanks in advance.



More information about the Python-list mailing list