Re: [Tutor] Problem with smtplib

2012-02-06 Thread bob gailer
On 2/6/2012 6:05 AM, Nikolay Moskvin wrote: Hi, all I have a problem with sending mail via smtp. This error does not always happen. Does somebody seen this stacktrace? I've seen many like that. It means exactly what it says. "Connection unexpectedly closed" Most likely something went awry with

[Tutor] Problem with smtplib

2012-02-06 Thread Nikolay Moskvin
Hi, all I have a problem with sending mail via smtp. This error does not always happen. Does somebody seen this stacktrace? smtp.sendmail(send_from, send_to, msg.as_string()) File "/usr/local/lib/python2.7/smtplib.py", line 725, in sendmail (code, resp) = self.data(msg) File "/usr/loca