From: Daniel Stenberg Date: Thu, 31 Dec 2009 22:38:10 +0000 (+0000) Subject: added descriptions for CURLOPT_MAIL_FROM and CURLOPT_MAIL_RCPT X-Git-Tag: curl-7_20_0~187 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=42d365f199f9637820de4ecdee21bc7d4668f138;p=thirdparty%2Fcurl.git added descriptions for CURLOPT_MAIL_FROM and CURLOPT_MAIL_RCPT --- diff --git a/docs/libcurl/curl_easy_setopt.3 b/docs/libcurl/curl_easy_setopt.3 index ed6f1642a3..697d49b0e1 100644 --- a/docs/libcurl/curl_easy_setopt.3 +++ b/docs/libcurl/curl_easy_setopt.3 @@ -1053,6 +1053,19 @@ Pass a long to tell libcurl how to act on transfer decoding. If set to zero, transfer decoding will be disabled, if set to 1 it is enabled (default). libcurl does chunked transfer decoding by default unless this option is set to zero. (added in 7.16.2) +.SH SMTP OPTIONS +.IP CURLOPT_MAIL_FROM +Pass a pointer to a zero terminated string as parameter. It will be used to +specify the sender address in a mail when sending an SMTP mail with libcurl. + +(Added in 7.20.0) +.IP CURLOPT_MAIL_RCPT +Pass a pointer to a linked list of recipients to pass to the server in your +SMTP mail request. The linked list should be a fully valid list of \fBstruct +curl_slist\fP structs properly filled in. Use \fIcurl_slist_append(3)\fP to +create the list and \fIcurl_slist_free_all(3)\fP to clean up an entire list. + +(Added in 7.20.0) .SH TFTP OPTIONS .IP CURLOPT_TFTP_BLKSIZE Specify block size to use for TFTP data transmission. Valid range as per RFC