emacs-devel
[Top][All Lists]
Advanced

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

Any interest in an XOAUTH2 patch for smtpmail (Gmail 2-factor auth)?


From: Cesar Crusius
Subject: Any interest in an XOAUTH2 patch for smtpmail (Gmail 2-factor auth)?
Date: Fri, 05 Jan 2018 18:24:48 -0800
User-agent: mu4e 0.9.18; emacs 25.3.1

Hi all,

I recently had to add XOAUTH2 support in smtpmail to access my
two-factor authenticated Gmail account, which turned out to be
surprisingly simple (my hack has about 20 lines of code, I guess it
would about double to do it properly).

It uses oauth2.el, so my plan would be to make smtpmail load that
library on demand, in case the new smtpmail-xoauth2 variables are
configured. I guess the required functionality could be copy-and-pasted,
but that seems a waste.

Is there any interest in a patch?

-- 
Cesar Crusius

Attachment: signature.asc
Description: PGP signature


reply via email to

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