SMTPAuthenticationError 5.7.14 Please log\\n5.7.14 in via your web browser
I have been struggling in finding a solution that can be applied to my case, as I viewed and reviewed many questions related to this issue. I have a script which sends periodically reports to a list of recipients. Everything worked fine until today 4 am, when I checked my inbox and the reports didn't come. By debugging the code: import smtplib username="my.user.account@gmail.com" password="my.correct.password" server=smtplib.SMTP('smtp.gmail.com',587) server.ehlo() server.starttls() server.ehlo() server.login(username,password) #if login worked, it should send a message, but it is not working,