In Ethan Furman
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
--
http://mail.python.org/mailman/listinfo/python-list
kj wrote:
I'm getting the error:
smtplib.SMTPServerDisconnected: please run connect() first
when I run code that is essentially identical to the code given in
http://docs.python.org/library/email-examples.html
The error happens at the line (copied verbatim from the example
link
I'm getting the error:
smtplib.SMTPServerDisconnected: please run connect() first
when I run code that is essentially identical to the code given in
http://docs.python.org/library/email-examples.html
The error happens at the line (copied verbatim from the example
linked to