Exception: File "/usr/lib/python2.7/smtplib.py", line 366, in getreply
raise SMTPServerDisconnected("Connection unexpectedly closed")
smtplib.SMTPServerDisconnected: Connection unexpectedly closed
Check the port you have configured for gmail.
If ur using SSL(465) change to TLS (587) , vice versa.
No comments:
Post a Comment