Jun-29-2020, 02:04 PM
so i was following a tutorial on YouTube and this is what i ended up with
short and simple code to send a simple email.
Ive looked around and I couldn't find a solution or anyone else with this problem so this is my last hope :[
short and simple code to send a simple email.
import smtplib server = smtplib.SMTP_SSL('smtp.gmail.com', 465) server.login("[email protected]", "password") server.sendmail( "[email protected]", "[email protected]", "this message is from python") server.quit()but when I run the program I get these errors
Error:Traceback (most recent call last):
File "C:/Users/me/PycharmProjects/untitled1/123.py", line 3, in <module>
server = smtplib.SMTP_SSL('smtp.gmail.com', 465)
File "C:\Users\me\AppData\Local\Programs\Python\Python38-32\lib\smtplib.py", line 1031, in __init__
context = ssl._create_stdlib_context(certfile=certfile,
File "C:\Users\me\AppData\Local\Programs\Python\Python38-32\lib\ssl.py", line 801, in _create_unverified_context
context.keylog_filename = keylogfile
FileNotFoundError: [Errno 2] No such file or directory: 'C:\\Users\\me\\Documents\\Wireshark\\ssl-keys.log'
Im not expert (hence Im here asking for help) but has Wireshark messed up python getting ssl keys?Ive looked around and I couldn't find a solution or anyone else with this problem so this is my last hope :[