Why am i getting “web login required” message while connecting to gmail via imap?

I”m working on application which involves login to a email server vie IMAP. When I”m logining at Gmail, I always get “Web login required.” and a link to “Control, protect, and secure your account, all in one place”. I”ve enabled using less secure applications in the setting and IMAP in the Gmail settings and still the error.

Watching: Why am i getting “web login required” message while connecting to gmail via imap?




The “web login required error” means that Gmail

is not recognizing your password oryou are signing from a new location or device oryou have enabled 2-Step Verification for your account.You need to generate an Application specific password for MsgExtract.

See Generating an application password when 2-Step verification is enabled in GmailGoogle detects your login as suspicious. It could be because you are login in from a different country.


Refer to the following page on how to proceed to solve this issue:


Improve this answer
answered May 24 “16 at 4:26


20611 silver badge44 bronze badges
Add a comment |

Your Answer

Thanks for contributing an answer to Web Applications Stack Exchange!

Please be sure to answer the question. Provide details and share your research!

But avoid

Asking for help, clarification, or responding to other answers.Making statements based on opinion; back them up with references or personal experience.

Readmore: Geema I Have Wrote My Recovery Email Address @Gmail, Computación Básica: Correo Electrónico Con Gmail

See Also:  How to set up g suite for nonprofits email for your domain

To learn more, see our tips on writing great answers.

Readmore: Recover All Delete All Contacts, Httlen: Share Good Articles

Draft saved
Draft discarded

Sign up or log in

Sign up using Google
Sign up using Facebook
Sign up using Email and Password

Post as a guest

Email Required, but never shown

Post as a guest


Required, but never shown

Post Your Answer Discard

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you’re looking for? Browse other questions tagged gmail imap or ask your own question.

The Overflow Blog
Featured on Meta

Importing Gmail contacts to another Google account by Adding a POP3 account
Outages where Google Apps Email account can’t pull down new messages via IMAP, but can still send over SMTP
How do I add my G Suite work email to my personal Gmail account?
Gmail IMAP telling me to “please log in using your web browser”
Trouble forwarding AOL email to new Gmail account
Gmail keeps turning off ‘Less secure app access’ feature

Can not add Google Suite account to Normal Gmail’s “Send mail as”. Error 535-5.7.8 Username and Password not accepted
Hot Network Questions more hot questions

Question feed
Subscribe to RSS
Question feed To subscribe to this RSS feed, copy and paste this URL into your RSS reader.

See Also:  Xem header email với mac mail

Web Applications
Stack Exchange Network
site design / logo © 2021 Stack Exchange Inc; user contributions licensed under cc by-sa. rev2021.8.26.40077
Web Applications Stack Exchange works best with JavaScript enabled


Your privacy

By clicking “Accept all cookies”, you agree Stack Exchange can store cookies on your device and disclose information in accordance with our Cookie Policy.

Categories: Mail

Leave a Reply

Your email address will not be published.