how to use smtp starttls() encryption?

Xu, C.S. xucs007 at yahoo.com
Thu Oct 10 21:19:37 EDT 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