RE: SMTP connection ends with HELP command

2015-01-28 Thread Steve Holme
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 =

RE: SMTP connection ends with HELP command

2015-01-28 Thread Patrick Monnerat
Mariusz Gogulski wrote: Could you point me what do I do wrong? curl_easy_setopt(hCurl, CURLOPT_READDATA, mime); //mime - handle to opened mime I don't know if it's the cause of your trouble: you set READDATA to a pointer to mime that has very little change to be of FILE type