summaryrefslogtreecommitdiff
path: root/docs/cmdline-opts/mail-rcpt-allowfails.d
blob: b5723df3462321556fc6abc8bb229951f36a3047 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
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.