"smtplib.SMTPServerDisconnected: please run connect() first"

kj no.email at please.post
Fri Oct 9 21:35:26 EDT 2009


In <mailman.1096.1255129309.2807.python-list at python.org> Ethan Furman <ethan at stoneleaf.us> writes:

>The line preceeding it,

>s = smtplib.SMTP()

>needs to have an e-mail server specified.  E.g.

>s = smtplib.SMTP('localhost')  # from the 2.5 docs

Perfect.  Thanks!

kynn



More information about the Python-list mailing list