cURL / Mailing Lists / curl-library / Single Mail


RE: [PATCH] OAUTH 2.0 Bearer token support SMTP/IMAP (XOAUTH2)

From: Steve Holme <>
Date: Mon, 26 Aug 2013 21:06:16 +0100

Hi Kyle,

On Sun, 25 Aug 2013, Steve Holme wrote:

> You will note that I am starting to push your changes out,
> having split the first commit up into two separate commits.
> I have also corrected a couple of typo's in the patch
> description and formatted them better for the 72 character
> limit that we have on the descriptions.

I've just pushed the last two commits - this, as we discussed, has the
problem that the user will be asked for the password if they place --bearer
on the command line after --user.

As such I have enclosed a patch to move the checkpasswd() call outside of
the main parameter gathering loop. I've tested this in a limited factor
myself but:

a) Was wondering if you could give it a go please against gmail with a valid
bearer token
b) Wanted to post it here for anyone else to comment on before I push it
(For consistency it also moves the checkpasswd() call for a proxy as well)

Kind Regards


Received on 2013-08-26