streetmerchant: Can not get gmail to work, thus breaking notifications

Description

Hello,

I apologize because I am not very code-savvy.

I am entering my gmail password and email correctly, but Google keeps blocking the bot from having access to my email. I approved the log-in, but it still does not work correctly.

I keep getting the following error when testing:

[5:40:35 PM] error :: Invalid login: 535-5.7.8 Username and Password not accepted. Learn more at
535 5.7.8  https://support.google.com/mail/?p=BadCredentials 17sm950114oth.70 - gsmtp
[5:40:35 PM] error :: Invalid login: 535-5.7.8 Username and Password not accepted. Learn more at
535 5.7.8  https://support.google.com/mail/?p=BadCredentials w12sm8423824oow.22 - gsmtp

I do not have MAP turned on.

Any advice would be great.

Possible solution

About this issue

  • Original URL
  • State: closed
  • Created 4 years ago
  • Comments: 23 (8 by maintainers)

Most upvoted comments

I was having the same problem until I found the actual setting to allow less secure apps. Try this:

https://www.google.com/settings/security/lesssecureapps

Do not set your account to less secure. Use the app password.

But I can’t do that as I’m not using 2FA in the first place? Also my GMAIL is basically a dump, I don’t use it and this is the only thing I’m currently using it for. Once I’ve got a GPU I’ll put it back to more secure. I CBA to set up 2factor for gmail then to get an app password.

Are you positive your email and password are right?

EMAIL_USERNAME="myemail@gmail.com"
EMAIL_PASSWORD="mypassword"

Both of them are in quotes? This functionality works, so it’s on your end.