2020-01-15 06:22:38 +08:00
|
|
|
Long: mail-rcpt-allowfails
|
|
|
|
Help: Allow RCPT TO command to fail for some recipients
|
|
|
|
Protocols: SMTP
|
|
|
|
Added: 7.69.0
|
2020-07-13 20:15:04 +08:00
|
|
|
Category: smtp
|
2021-08-31 22:37:14 +08:00
|
|
|
Example: --mail-rcpt-allowfails --mail-rcpt dest@example.com smtp://example.com
|
2021-11-15 22:58:20 +08:00
|
|
|
See-also: mail-rcpt
|
2020-01-15 06:22:38 +08: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 14:54:13 +08: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.
|