Skip to content
This repository has been archived by the owner on Oct 31, 2018. It is now read-only.

Google refuses authentication #9

Open
ghost opened this issue Jan 6, 2016 · 2 comments
Open

Google refuses authentication #9

ghost opened this issue Jan 6, 2016 · 2 comments

Comments

@ghost
Copy link

ghost commented Jan 6, 2016

I just installed mail trends on my Mac (running El Capitan) and ran:
python main.py --server=imap.gmail.com --use_ssl --username=[email protected] --me=[email protected] -- skip_labels
(myname substituted above for actual login name)

when I entered my password for the gmail account, google refused with the following message:

imaplib.error: [ALERT] Please log in via your web browser: https://support.google.com/mail/accounts/answer/78754 (Failure)

I then received an email that the app doesn't support latest security standards. What should/can I do?

@benshep
Copy link

benshep commented May 2, 2017

You have to allow "less secure access" to your Googel account: go to https://myaccount.google.com/security.

@harningt
Copy link

App Passwords is what you'll want to use here. You can then later dispose of the password in the same page.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants