mail-rcpt-allowfails.d 844 B

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