diff options
author | Daniel Stenberg <daniel@haxx.se> | 2016-11-06 16:02:16 +0100 |
---|---|---|
committer | Daniel Stenberg <daniel@haxx.se> | 2016-11-07 08:33:02 +0100 |
commit | 677d8b3fec8960285040f3ed4e8d25aea56740e7 (patch) | |
tree | 312b5f41e5c7b53625f016073a06fd20533e0f14 /docs | |
parent | 6aa9cfa2b90a818e06c8c414733145ad94ca461f (diff) |
curl.1: explain the SMTP data expected for -T
Fixes #1107
Reported-by: Adam Piggott
Diffstat (limited to 'docs')
-rw-r--r-- | docs/curl.1 | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/docs/curl.1 b/docs/curl.1 index f5375ed7f..9e96d0c98 100644 --- a/docs/curl.1 +++ b/docs/curl.1 @@ -1774,6 +1774,11 @@ curl -T "{file1,file2}" http://www.example.com or even curl -T "img[1-1000].png" ftp://ftp.example.com/upload/ + +When uploading to an SMTP server: the uploaded data is assumed to be RFC 5322 +formatted. It has to feature the necessary set of headers and mail body +formatted correctly by the user as curl will not transcode nor encode it +further in any way. .IP "--tcp-nodelay" Turn on the TCP_NODELAY option. See the \fIcurl_easy_setopt(3)\fP man page for details about this option. (Added in 7.11.2) |