currently I'm trying to connect to my gmail.com account via gnus.

Following emacswiki.org: Gnus#Gmail Quickstart guide I get

nnimap (gmail) open error: 'NO (ALERT) Please log in via your web browser: https://support.google.com/mail/accounts/answer/78754 (Failure)'.  Continue? (y or n) n 
Couldn't open server on gmail

Searching suggested page by google did not provide solution I could use.

Where did I went wrong?


2 Answers 2


This is not really a gnus question, but the problem is 2 factor authentication in gmail. https://productforums.google.com/forum/#!topic/gmail/WUaXHSdI3WM explains the issue and how to fix it (you need to create an application specific password).

  • Nah, the problem is EmacsWiki moldering. Without a voting system to send those nefarious outdated docs in the abyss, this website is to be avoided.
    – yPhil
    Aug 28, 2017 at 4:30
  • 2
    @yPhil If only there were some way to update those outdated docs...
    – npostavs
    Sep 26, 2017 at 12:30

This "quickstart guide" article you are following is probably outdated ; Here is a recent document about using Gnus using oauth2 with 2 steps authorization.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

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