Jul-14-2017, 04:08 AM
Hi,
I am actually new to python and programming...now i get to debug and i got the following error:
I am actually new to python and programming...now i get to debug and i got the following error:
Error:Traceback (most recent call last):
File "C:\Python27\Lib\site-packages\Pythonwin\pywin\framework\scriptutils.py", line 326, in RunScript
exec codeObject in __main__.__dict__
File "C:\Users\rwahdan\Desktop\Keylogger\main.py", line 164, in <module>
server = smtplib.SMTP('smtp.gmail.com',465)
File "C:\Python27\lib\smtplib.py", line 256, in __init__
(code, msg) = self.connect(host, port)
File "C:\Python27\lib\smtplib.py", line 317, in connect
(code, msg) = self.getreply()
File "C:\Python27\lib\smtplib.py", line 368, in getreply
raise SMTPServerDisconnected("Connection unexpectedly closed")
SMTPServerDisconnected: Connection unexpectedly closed
thanks