Steve Holme wrote: > 1) Use CURLOPT_HTTPAUTH (so --anyauth, --ntlm, etc. will work) > 2) Introduce a new option CURLOPT_SMTPAUTH
A third solution would be to have a callback for mechanism selection, with the server-provided available mechanisms in parameter. This is a bit heavy, but it offers the advantage to really interact with the server. The 2 other solutions force you to select a mechanism before knowing which ones are supported by the server. Patrick ------------------------------------------------------------------- List admin: http://cool.haxx.se/list/listinfo/curl-library Etiquette: http://curl.haxx.se/mail/etiquette.html
