« first day (2345 days earlier)      last day (1011 days later) » 

6:07 AM
 
 
13 hours later…
6:47 PM
Hi, does anyone have experience with Python SMTP for Gmail. I have tried less-secure apps and also 2fa with the app password and both returns an error.
Error: (535, b'5.7.8 Username and Password not accepted. Learn more at\n5.7.8 https://support.google.com/mail/?p=BadCredentials b7sm25632476pfl.195 - gsmtp')
with smtplib.SMTP_SSL('smtp.gmail.com', 465) as smtp:
print(config['EMAIL']['user'], config['EMAIL']['password'])
smtp.login(config['EMAIL']['user'], config['EMAIL']['password'])
smtp.send_message(msg)
 
7:19 PM
1 message moved from Python
 

« first day (2345 days earlier)      last day (1011 days later) »