From 4a4609bf3c812afc65f700b4b7e673cc76ade1bf Mon Sep 17 00:00:00 2001 From: Pavel Volgarev Date: Tue, 14 Jan 2020 17:22:38 -0500 Subject: smtp: Allow RCPT TO command to fail for some recipients Introduces CURLOPT_MAIL_RCPT_ALLLOWFAILS. Verified with the new tests 3002-3007 Closes #4816 --- include/curl/curl.h | 3 +++ 1 file changed, 3 insertions(+) (limited to 'include') 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; -- cgit v1.2.3