On 15 December 2010 10:16, Brad Hards <[email protected]> wrote: [...] > /* this becomes the Return-Path header value */ > static const char *from = "[email protected]";
You have typo'd "example" :) [...] > /* this is the URL for your mailserver - you can also use an smtps:// URL > here */ > curl_easy_setopt(curl, CURLOPT_URL, "smtp://mail.example.net."); [...] I believe that if you set it to: smtp://mail.example.net/client.example.net libcurl sends a EHLO (or HELO) command with "client.example.net" as the argument. -- Michael Wood <[email protected]> ------------------------------------------------------------------- List admin: http://cool.haxx.se/list/listinfo/curl-library Etiquette: http://curl.haxx.se/mail/etiquette.html
