master-server/deps/curl/docs/cmdline-opts/mail-rcpt-allowfails.md

29 lines
865 B
Markdown
Raw Normal View History

2024-05-15 15:20:32 -04:00
---
2023-12-11 20:30:44 -05:00
c: Copyright (C) Daniel Stenberg, <daniel@haxx.se>, et al.
SPDX-License-Identifier: curl
Long: mail-rcpt-allowfails
2024-05-15 15:20:32 -04:00
Help: Allow RCPT TO command to fail
2023-12-11 20:30:44 -05:00
Protocols: SMTP
Added: 7.69.0
Category: smtp
Multi: boolean
2024-05-15 15:20:32 -04:00
See-also:
- mail-rcpt
Example:
- --mail-rcpt-allowfails --mail-rcpt dest@example.com smtp://example.com
2023-12-11 20:30:44 -05:00
---
2024-05-15 15:20:32 -04:00
# `--mail-rcpt-allowfails`
2023-12-11 20:30:44 -05:00
When sending data to multiple recipients, by default curl aborts 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 makes curl ignore errors and proceed with the
remaining valid recipients.
If all recipients trigger RCPT TO failures and this flag is specified, curl
still aborts the SMTP conversation and returns the error received from to the
last RCPT TO command.