heroku smtplib need to log into browser
问题 I have pushed a bot onto heroku with feedback capability (email) but i need to log into web browser before gmail will allow me to use it. Any way round this? smtplib.SMTPAuthenticationError: (534, b'5.7.14 / Please log in via your web browser and\n5.7.14 then try again .\n5.7.14 Learn more at\n5.7.14 https://support.google.com/mail/answer/78754 d9sm5410600qte.0 - gsmtp') Error from logs 回答1: The linked question is closed so I'll post here what worked for me. I has to allow less secure apps on