Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Authentication error #85

Open
Debdut opened this issue Sep 7, 2017 · 4 comments
Open

Authentication error #85

Debdut opened this issue Sep 7, 2017 · 4 comments

Comments

@Debdut
Copy link

Debdut commented Sep 7, 2017

AuthenticationError                       Traceback (most recent call last)
<ipython-input-3-69ade5292074> in <module>()
----> 1 g.login ('**********', '**********')

/home/debdut/Code/workspace/gmail/gmail/gmail.pyc in login(self, username, password)
    104                 self.fetch_mailboxes()
    105         except imaplib.IMAP4.error:
--> 106             raise AuthenticationError
    107 
    108 

AuthenticationError: 

I also got an email that Google is blocking the login. How to fix it?
Note: I have replaced my username password with *'s.

@Aryal007
Copy link

Did you find the answer to this?

@ANANTHU-R-NATH
Copy link

Follow this steps to allow gmail o be accessed from this Library : https://support.google.com/accounts/answer/6010255?hl=en

i believe this should solve you problem

@goutham9032
Copy link

if i am giving correct user name and password
File "", line 1, in
File "/usr/local/lib/python2.7/dist-packages/gmail/utils.py", line 7, in login
gmail.login(username, password)
File "/usr/local/lib/python2.7/dist-packages/gmail/gmail.py", line 100, in login
raise AuthenticationError
gmail.exceptions.AuthenticationError

@Anon-Exploiter
Copy link

@ANANTHU-R-NATH thanks!

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

No branches or pull requests

5 participants