Der-Henning / tgtg

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

Gmail SMTP password not taken #517

Closed wimgielis closed 1 month ago

wimgielis commented 1 month ago

Hello,

I am trying to run the tool and updated the config.ini file. When starting the scanner, I get the error:

[2024-07-14 00:43:05][tgtg][main.py:main:217][ERROR] Configuration Error: (534, b'5.7.9 Application-specific password required. For more information, go to\n5.7.9 https://support.google.com/mail/?p=InvalidSecondFactor ffacd0b85a97d-368119970e7sm1809147f8f.21 - gsmtp')

I know for a fact that my password for Gmail is correct. It does have an ampersand, is that an issue ? Do we need to escape it ? The last version is used (a day old). I cannot compare with earlier versions, first time user here :-)

Thanks a lot !

Wim

wimgielis commented 1 month ago

Or, does it have to do with 2FA ?

Der-Henning commented 1 month ago

Hi @wimgielis,

You need to create an application password for your google account.

https://support.google.com/accounts/answer/185833?hl=en

wimgielis commented 1 month ago

Okay thanks. I will do that and report back. Enjoy your Sunday !


Best regards / Beste groeten,

Wim Gielis IBM Champion 2024 MS Excel MVP 2011-2014 https://www.wimgielis.com http://www.wimgielis.be

Op zo 14 jul 2024 om 07:48 schreef Henning Merklinger < @.***>

Hi @wimgielis https://github.com/wimgielis,

You need to create an application password for your google account.

https://support.google.com/accounts/answer/185833?hl=en

— Reply to this email directly, view it on GitHub https://github.com/Der-Henning/tgtg/issues/517#issuecomment-2227204522, or unsubscribe https://github.com/notifications/unsubscribe-auth/AEDHULKFY2D6RUPTIAMS5RDZMIGMJAVCNFSM6AAAAABK2UAIHSVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDEMRXGIYDINJSGI . You are receiving this because you were mentioned.Message ID: @.***>

wimgielis commented 1 month ago

The scanner is active, thanks for the assistance.