aboutsummaryrefslogtreecommitdiff
path: root/docs/libcurl/curl_easy_setopt.3
diff options
context:
space:
mode:
authorSteve Holme <steve_holme@hotmail.com>2013-11-17 09:45:08 +0000
committerSteve Holme <steve_holme@hotmail.com>2013-11-17 10:09:07 +0000
commit3c8c9b2779df175f2f740bb6fbe414e0c56f94b6 (patch)
tree4aa12c7d0c5ffb3a526716787538b32d2da5cf68 /docs/libcurl/curl_easy_setopt.3
parentb27dc009cfb887eddbcf3f2d8b80f79852cb3ef1 (diff)
smtp: Changed the default command to HELP when no options are specified
Otherwise a NOOP operation would be performed which a) only returns a single line response and not a multiline response where -I needs to be used, and b) provides an inconsistent user experience compared to that of the POP3 and IMAP protocols.
Diffstat (limited to 'docs/libcurl/curl_easy_setopt.3')
-rw-r--r--docs/libcurl/curl_easy_setopt.315
1 files changed, 7 insertions, 8 deletions
diff --git a/docs/libcurl/curl_easy_setopt.3 b/docs/libcurl/curl_easy_setopt.3
index c63920b92..51edaea97 100644
--- a/docs/libcurl/curl_easy_setopt.3
+++ b/docs/libcurl/curl_easy_setopt.3
@@ -2084,11 +2084,11 @@ Instead of LIST and NLST when performing FTP directory listings.
.B IMAP
-Instead of LIST when issuing IMAP based commands. (Added in 7.30.0)
+Instead of LIST when issuing IMAP based requests. (Added in 7.30.0)
.B POP3
-Instead of LIST and RETR when issuing POP3 based commands. (Added in 7.26.0)
+Instead of LIST and RETR when issuing POP3 based requests. (Added in 7.26.0)
For example:
@@ -2099,15 +2099,14 @@ DELE and NOOP for example.
.B SMTP
-When you tell libcurl to use a custom request it will behave as a NOOP or VRFY
-request depending on what other options are set. (Added in 7.34.0)
+Instead of a HELP or VRFY when issuing SMTP based requests. (Added in 7.34.0)
For example:
-If the \fICURLOPT_NOBODY\fP option is specified then the request can be used to
-specify the RSET command. Otherwise a multiline listing is returned which can
-be used to specify a HELP request or, if used in conjuection with the
-\fICURLOPT_MAIL_RCPT\fP option, a EXPN request.
+Normally a multiline response is returned which can be used, in conjuection with
+\fICURLOPT_MAIL_RCPT\fP, to specify an EXPN request. If the \fICURLOPT_NOBODY\fP
+option is specified then the request can be used to issue NOOP and RSET
+commands.
.IP CURLOPT_FILETIME
Pass a long. If it is 1, libcurl will attempt to get the modification date of
the remote document in this operation. This requires that the remote server