summaryrefslogtreecommitdiff
path: root/docs/libcurl/curl_mime_init.3
diff options
context:
space:
mode:
Diffstat (limited to 'docs/libcurl/curl_mime_init.3')
-rw-r--r--docs/libcurl/curl_mime_init.39
1 files changed, 5 insertions, 4 deletions
diff --git a/docs/libcurl/curl_mime_init.3 b/docs/libcurl/curl_mime_init.3
index 601123c41..031c62b65 100644
--- a/docs/libcurl/curl_mime_init.3
+++ b/docs/libcurl/curl_mime_init.3
@@ -28,10 +28,11 @@ curl_mime_init - create a mime handle
.BI "curl_mime * curl_mime_init(CURL * " easy_handle ");"
.ad
.SH DESCRIPTION
-curl_mime_init() creates a handle to a new empty mime structure intended to be
-used with \fIeasy_handle\fP. This mime structure can be subsequently filled
-using the mime API, then attached to \fIeasy_handle\fP using option
-\fICURLOPT_MIMEPOST\fP within a \fIcurl_easy_setopt\fP() call.
+\fIcurl_mime_init(3)\fP creates a handle to a new empty mime structure
+intended to be used with \fIeasy_handle\fP. This mime structure can be
+subsequently filled using the mime API, then attached to \fIeasy_handle\fP
+using option \fICURLOPT_MIMEPOST(3)\fP within a \fIcurl_easy_setopt(3)\fP
+call.
Using a mime handle is the recommended way to post an HTTP form, format and
send a multi-part e-mail with SMTP or upload such an e-mail to an IMAP server.