smtp: Fixed login denied when server doesn't support AUTH capability
authorSteve Holme <steve_holme@hotmail.com>
Fri, 28 Mar 2014 18:21:27 +0000 (18:21 +0000)
committerSteve Holme <steve_holme@hotmail.com>
Fri, 28 Mar 2014 18:21:27 +0000 (18:21 +0000)
commitfe260b75e74fed56573d133dd64d2424660743cb
tree9a4ef874bf0fccbf74c64df564423e4b185628ac
parent2dc63c72dc86029e4586aab48517297626f2e455
smtp: Fixed login denied when server doesn't support AUTH capability

Specifying user credentials when the SMTP server doesn't support
authentication would cause curl to display "No known authentication
mechanisms supported!" and return CURLE_LOGIN_DENIED.

Reported-by: Tom Sparrow
Bug: http://curl.haxx.se/mail/lib-2014-03/0173.html
lib/smtp.c
lib/smtp.h