blob: d14b9e8f012301f813fa6ce677da9b0bd3feb503 [file] [log] [blame]
xf.li6c8fc1e2023-08-12 00:11:09 -07001c: Copyright (C) 1998 - 2022, Daniel Stenberg, <daniel@haxx.se>, et al.
2SPDX-License-Identifier: curl
3Long: mail-rcpt-allowfails
4Help: Allow RCPT TO command to fail for some recipients
5Protocols: SMTP
6Added: 7.69.0
7Category: smtp
8Example: --mail-rcpt-allowfails --mail-rcpt dest@example.com smtp://example.com
9See-also: mail-rcpt
10Multi: boolean
11---
12When sending data to multiple recipients, by default curl will abort SMTP
13conversation if at least one of the recipients causes RCPT TO command to
14return an error.
15
16The default behavior can be changed by passing --mail-rcpt-allowfails
17command-line option which will make curl ignore errors and proceed with the
18remaining valid recipients.
19
20If all recipients trigger RCPT TO failures and this flag is specified, curl
21will still abort the SMTP conversation and return the error received from to
22the last RCPT TO command.