aboutsummaryrefslogtreecommitdiff
path: root/include
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 /include
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 'include')
-rw-r--r--include/curl/curl.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/include/curl/curl.h b/include/curl/curl.h
index 7921acfc5..bca7446d2 100644
--- a/include/curl/curl.h
+++ b/include/curl/curl.h
@@ -1937,6 +1937,9 @@ typedef enum {
/* SASL authorisation identity */
CURLOPT(CURLOPT_SASL_AUTHZID, CURLOPTTYPE_STRINGPOINT, 289),
+ /* allow RCPT TO command to fail for some recipients */
+ CURLOPT(CURLOPT_MAIL_RCPT_ALLLOWFAILS, CURLOPTTYPE_LONG, 290),
+
CURLOPT_LASTENTRY /* the last unused */
} CURLoption;