« first day (2346 days earlier)      last day (995 days later) » 

2:21 AM
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 support.google.com/mail/… b7sm25632476pfl.195 - gsmtp')

First try:
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)
 
 
10 hours later…
12:33 PM
1 message moved from Python
 

« first day (2346 days earlier)      last day (995 days later) »