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

2009-10-09 Thread kj
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

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

2009-10-09 Thread Ethan Furman
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

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

2009-10-09 Thread kj
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