Re: To send e-mail

2011-12-18 Thread Jeffrey Walton
On Sun, Dec 18, 2011 at 10:57 AM, Helegurbann wrote: > > Hi.I tried int his example code.But it doesn't runs: > [code] > #include > #include > #include > > /* This is a simple example showing how to send mail using libcurl's SMTP >  * capabilities. It builds on the simplesmtp.c example, adding

To send e-mail

2011-12-18 Thread Helegurbann
eful to turn on debug * information within libcurl to see what is happening during the transfer. */ curl_easy_setopt(curl, CURLOPT_VERBOSE, 1L); /* send the message (including headers) */ res = curl_easy_perform(curl); /* free the list of recipients and clean u