On Mon, Aug 26, 2013 at 5:53 PM, Kyle L. Huff <[email protected]> wrote: > 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...) >
Well, disregard, that was my bad -- I didn't have the --user option in quotes, and bash was probably terminating the command at the semi-colon... That is a lame mistake. Adding quotes, it does what I expect it to do. -- Kyle L. Huff curetheitch.com webpg.org ------------------------------------------------------------------- List admin: http://cool.haxx.se/list/listinfo/curl-library Etiquette: http://curl.haxx.se/mail/etiquette.html
