>> a) Was wondering if you could give it a go please against gmail with a valid
>> bearer token

Okay, so I tested it and it works as expected in all of the tests I
demonstrated before with only one exception;

curl --url "smtps://smtp.gmail.com:465" --user
[email protected];AUTH=XOAUTH2 --ssl-req --bearer ya29.AHES...EoTg4

With the above command, despite the bearer option being specified (in
addition to the preferred AUTH mechanism being specified in the user
parameter) it still asks for a password -- whats more, XOAUTH2
authentication fails no matter what you enter into the password prompt
(yes, I wasn't positive it was pasting the bearer, so I typed it out
the 60 character camel-case string into the prompt... several
times...)

If you remove the ";AUTH=XOAUTH2" portion from the user option, it
functions as expected.

Regards,
-- 
Kyle L. Huff
http://curetheitch.com
http://webpg.org
-------------------------------------------------------------------
List admin: http://cool.haxx.se/list/listinfo/curl-library
Etiquette:  http://curl.haxx.se/mail/etiquette.html

Reply via email to