emacs-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: gmail+imap+smtp (oauth2)


From: Robert Pluim
Subject: Re: gmail+imap+smtp (oauth2)
Date: Sun, 08 May 2022 18:00:58 +0200

>>>>> On Sun, 08 May 2022 16:36:31 +0200, Uwe Brauer <oub@mat.ucm.es> said:

    Uwe> I might give it a try but what is the syntax in teh authinfo file

The auth-source info documentation has plenty of gory details

    Uwe> My original setting is 
    Uwe> machine smtp.gmail.com login oub@ucm.es port 587 password passwd
    Uwe> machine UCMgmail login oub@ucm.es password passwd port  imaps


    Uwe> Tassilo suggested

    Uwe> machine imap.gmail.com login USER@gmail.com password APP_PWD force yes

Most fields in .authinfo are optional, so

machine foo login bar
machine foo login bar port baz

are both legal. For gmail I have

machine imap.gmail.com login USER password APP_PWD port imaps

(the "force yes" stuff is only needed for servers that donʼt advertise
that you need to authenticate)

Robert
-- 



reply via email to

[Prev in Thread] Current Thread [Next in Thread]