aboutsummaryrefslogtreecommitdiff
path: root/docs/cmdline-opts
diff options
context:
space:
mode:
authorPavel Volgarev <pvolgarev@google.com>2020-01-14 17:22:38 -0500
committerDaniel Stenberg <daniel@haxx.se>2020-01-21 10:40:19 +0100
commit4a4609bf3c812afc65f700b4b7e673cc76ade1bf (patch)
treead7428b01b7bdd0735670f2cdbe6af46a11f97ba /docs/cmdline-opts
parent23a17e039d0b1f0491d420ce2fd06e23cb3cf4c6 (diff)
smtp: Allow RCPT TO command to fail for some recipients
Introduces CURLOPT_MAIL_RCPT_ALLLOWFAILS. Verified with the new tests 3002-3007 Closes #4816
Diffstat (limited to 'docs/cmdline-opts')
-rw-r--r--docs/cmdline-opts/mail-rcpt-allowfails.d15
1 files changed, 15 insertions, 0 deletions
diff --git a/docs/cmdline-opts/mail-rcpt-allowfails.d b/docs/cmdline-opts/mail-rcpt-allowfails.d
new file mode 100644
index 000000000..b5723df34
--- /dev/null
+++ b/docs/cmdline-opts/mail-rcpt-allowfails.d
@@ -0,0 +1,15 @@
+Long: mail-rcpt-allowfails
+Help: Allow RCPT TO command to fail for some recipients
+Protocols: SMTP
+Added: 7.69.0
+---
+When sending data to multiple recipients, by default curl will abort SMTP
+conversation if at least one of the recipients causes RCPT TO command to
+return an error.
+
+The default behavior can be changed by passing --mail-rcpt-allowfails
+command-line option which will make curl ignore errors and proceed with the
+remaining valid recipients.
+
+In case when all recipients cause RCPT TO command to fail, curl will abort SMTP
+conversation and return the error received from to the last RCPT TO command. \ No newline at end of file