On Wed, 28 Jan 2015, Mariusz Gogulski wrote: > Every time I try to send an E-Mail first command sent after authentication > is HELP
This happens if the recipient list is empty or upload has not been set to true. > recipients = curl_slist_append(recipients, TO); > recipients = curl_slist_append(recipients, CC); > curl_easy_setopt(hCurl, CURLOPT_MAIL_FROM, FROM); I believe you are missing: curl_easy_setopt(curl, CURLOPT_MAIL_RCPT, recipients); Kind Regards Steve ------------------------------------------------------------------- List admin: http://cool.haxx.se/list/listinfo/curl-library Etiquette: http://curl.haxx.se/mail/etiquette.html
