gmail icon indicating copy to clipboard operation
gmail copied to clipboard

Authentication error

Open Debdut opened this issue 7 years ago • 4 comments

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.

Debdut avatar Sep 07 '17 04:09 Debdut

Did you find the answer to this?

Aryal007 avatar Jan 19 '18 06:01 Aryal007

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

ANANTHU-R-NATH avatar Jan 31 '18 21:01 ANANTHU-R-NATH

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

goutham9032 avatar Mar 23 '18 10:03 goutham9032

@ANANTHU-R-NATH thanks!

Anon-Exploiter avatar Nov 15 '20 07:11 Anon-Exploiter