chirag04 / mail-listener2

Mail listener library for node.js. Get notification when new email arrived.
MIT License
245 stars 116 forks source link

authentication failed, email not fetched #41

Open sapkal-manish opened 9 years ago

sapkal-manish commented 9 years ago

It is giving me error like this. I have double check for my username/email and password. I am getting following error : [Error: Please log in via your web browser: http://support.google.com/mail/accounts/bin/answer.py?answer=78754 (Failure)] textCode: 'ALERT', source: 'authentication' } imapDisconnected

Should I have to configure my gmail account?

chirag04 commented 9 years ago

See if imap is enabled in your gmail account.

Check: http://www.howtogeek.com/174837/how-to-add-your-gmail-account-to-outlook-2013-using-imap/

sapkal-manish commented 9 years ago

Yes @chirag04, I have enabled it, but still showing me same error. One another surprising things happens with Thunderbird. It's also showing me "username or password is invalid", but I am sure I am entering valid username and password.

sapkal-manish commented 9 years ago

When I have tried another account. It's connected, but when new mail come, thunderbird mail show new unread mail, but mail-listener2 cann't.

parthasharathi commented 8 years ago

In my account setting(https://myaccount.google.com/security) I just enabled 'Allow less secure apps' to ON . Its working fine. Now my question is there any other option?