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

"Web login required" error for gmail #116

Closed
im1dermike opened this issue Jun 3, 2015 · 3 comments
Closed

"Web login required" error for gmail #116

im1dermike opened this issue Jun 3, 2015 · 3 comments

Comments

@im1dermike
Copy link

I'm attempting to write an app that checks my gmail, but I'm getting the following exception:

* NO [WEBALERT <<long link>>] Web login required.

When I visit the link provided, it says "Google prevented a sign-in from a less secure app". I was able to note in my Google account that that device is trusted, but it still does not work and I still get the same error.

Any ideas? I have the SSL flag set to true on the initialization of the ImapClient.

@NiKiZe
Copy link
Contributor

NiKiZe commented Jun 3, 2015

You need to configure gmail to allow "insecure access" for IMAP.
The link tries to explain that you need to jump thru quite a few hoops before it works. (had the same thing with smtp not long ago)

@im1dermike
Copy link
Author

Thanks!

@im1dermike
Copy link
Author

I googled configure gmail to allow "insecure access" for IMAP and followed the instructions.

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

2 participants