From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: =?utf-8?Q?=C3=93scar_Fuentes?= Newsgroups: gmane.emacs.help Subject: Re: Problem getting mail from gmail with gnus Date: Tue, 07 Jun 2022 19:48:49 +0200 Message-ID: <87sfogcqke.fsf@telefonica.net> References: <82r140v1r7.fsf@free.fr> Mime-Version: 1.0 Content-Type: text/plain Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="5676"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/29.0.50 (gnu/linux) Cc: help-gnu-emacs@gnu.org To: Pascal Quesseveur Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane-mx.org@gnu.org Tue Jun 07 19:51:43 2022 Return-path: Envelope-to: geh-help-gnu-emacs@m.gmane-mx.org Original-Received: from lists.gnu.org ([209.51.188.17]) by ciao.gmane.io with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1nydMl-0001Ez-TP for geh-help-gnu-emacs@m.gmane-mx.org; Tue, 07 Jun 2022 19:51:43 +0200 Original-Received: from localhost ([::1]:56514 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1nydMk-0004zK-Aa for geh-help-gnu-emacs@m.gmane-mx.org; Tue, 07 Jun 2022 13:51:42 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:47928) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1nydKW-0004WC-Tt for help-gnu-emacs@gnu.org; Tue, 07 Jun 2022 13:49:24 -0400 Original-Received: from relayout02-redir.e.movistar.es ([86.109.101.202]:53987) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1nydKR-0004Yq-9p for help-gnu-emacs@gnu.org; Tue, 07 Jun 2022 13:49:22 -0400 Original-Received: from sky (104.red-81-39-17.dynamicip.rima-tde.net [81.39.17.104]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) (Authenticated sender: 981711563@telefonica.net) by relayout02.e.movistar.es (Postfix) with ESMTPSA id 4LHdBp38r4zdcgl; Tue, 7 Jun 2022 19:48:50 +0200 (CEST) In-Reply-To: <82r140v1r7.fsf@free.fr> (Pascal Quesseveur's message of "Tue, 07 Jun 2022 19:09:48 +0200") X-TnetOut-Country: IP: 81.39.17.104 | Country: ES X-TnetOut-Information: AntiSPAM and AntiVIRUS on relayout02 X-TnetOut-MsgID: 4LHdBp38r4zdcgl.A870D X-TnetOut-SpamCheck: no es spam, clean X-TnetOut-From: ofv@wanadoo.es X-TnetOut-Watermark: 1655228930.76057@MDB5ZTN5wx3U1lYx8eJWeg Received-SPF: softfail client-ip=86.109.101.202; envelope-from=ofv@wanadoo.es; helo=relayout02-redir.e.movistar.es X-Spam_score_int: -18 X-Spam_score: -1.9 X-Spam_bar: - X-Spam_report: (-1.9 / 5.0 requ) BAYES_00=-1.9, RCVD_IN_DNSWL_LOW=-0.7, SPF_HELO_NONE=0.001, SPF_SOFTFAIL=0.665, T_SCC_BODY_TEXT_LINE=-0.01 autolearn=no autolearn_force=no X-Spam_action: no action X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane-mx.org@gnu.org Original-Sender: "help-gnu-emacs" Xref: news.gmane.io gmane.emacs.help:137518 Archived-At: Pascal Quesseveur writes: > Apparently it is no more possible to get mails from gmail using imap > on gnus: > > Opening nnimap server on imap.gmail.com...failed: > NO (AUTHENTICATIONFAILED) Invalid credentials (Failure) Opening nnimap > server > > I have read some threads about using oauth2, but I can't figure out if > there is a workable solution on Windows (I am currently using GNU > Emacs 27.1 (build 1, x86_64-w64-mingw32) of 2020-08-21). > > I would be very happy to know if there are things that can be done to > regain the use of gmail using imap. >From a few weeks ago, there is a long discussion on emacs-devel on this topic. In short, you need to generate and use an app password.