mail-rcpt-allowfails.md (865B)
1 --- 2 c: Copyright (C) Daniel Stenberg, <daniel@haxx.se>, et al. 3 SPDX-License-Identifier: curl 4 Long: mail-rcpt-allowfails 5 Help: Allow RCPT TO command to fail 6 Protocols: SMTP 7 Added: 7.69.0 8 Category: smtp 9 Multi: boolean 10 See-also: 11 - mail-rcpt 12 Example: 13 - --mail-rcpt-allowfails --mail-rcpt dest@example.com smtp://example.com 14 --- 15 16 # `--mail-rcpt-allowfails` 17 18 When sending data to multiple recipients, by default curl aborts SMTP 19 conversation if at least one of the recipients causes RCPT TO command to 20 return an error. 21 22 The default behavior can be changed by passing --mail-rcpt-allowfails 23 command-line option which makes curl ignore errors and proceed with the 24 remaining valid recipients. 25 26 If all recipients trigger RCPT TO failures and this flag is specified, curl 27 still aborts the SMTP conversation and returns the error received from to the 28 last RCPT TO command.