2023-01-02 15:51:48 +03:00
|
|
|
c: Copyright (C) Daniel Stenberg, <daniel@haxx.se>, et al.
|
2022-06-14 01:12:03 +03:00
|
|
|
SPDX-License-Identifier: curl
|
2020-01-15 01:22:38 +03:00
|
|
|
Long: mail-rcpt-allowfails
|
|
|
|
Help: Allow RCPT TO command to fail for some recipients
|
|
|
|
Protocols: SMTP
|
|
|
|
Added: 7.69.0
|
2020-07-13 15:15:04 +03:00
|
|
|
Category: smtp
|
2021-08-31 17:37:14 +03:00
|
|
|
Example: --mail-rcpt-allowfails --mail-rcpt dest@example.com smtp://example.com
|
2021-11-15 17:58:20 +03:00
|
|
|
See-also: mail-rcpt
|
2022-10-18 11:39:43 +03:00
|
|
|
Multi: boolean
|
2020-01-15 01:22:38 +03:00
|
|
|
---
|
|
|
|
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.
|
|
|
|
|
2021-07-26 09:54:13 +03:00
|
|
|
If all recipients trigger RCPT TO failures and this flag is specified, curl
|
|
|
|
will still abort the SMTP conversation and return the error received from to
|
|
|
|
the last RCPT TO command.
|