Der-Henning / tgtg

Scanner for Too Good To Go Notifications
https://github.com/Der-Henning/tgtg/wiki
GNU General Public License v3.0
357 stars 59 forks source link

configuration issues with SMTP (possibly idiot mistake) #489

Closed nibbler75 closed 1 month ago

nibbler75 commented 2 months ago

Hello guys, i keep getting this error. Configuration Error: (535, b'5.7.8 Username and Password not accepted. For more information, go to\n5.7.8 https://support.google.com/mail/?p=BadCredentials v8-20020a05600c470800b004162020cee2sm5498654wmo.4 - gsmtp')

I don't know why the configuration seems pretty straightforward is anything wrong with those settings :

[SMTP] Enabled = true Host = smtp.gmail.com Port = 587 Username = jacques.clouseau@gmail.com Password = mypassword TLS = true SSL = false Sender = jacques.clouseau@gmail.com Recipients = jacques.clouseau@gmail.com

I'm pretty sure my login and passwords are correct so where is this error coming from dare ask?

thanks in advance for your input.

Der-Henning commented 2 months ago

Hi @nibbler75. Gmail does not allow using your credentials for a login with third party applications. You have to create an application login for the scanner. For more information see https://support.google.com/accounts/answer/185833?hl=en.

nibbler75 commented 2 months ago

thanks for your help sir. Inspector Clouseau thanks you for your efficient cooperation.