mail-rcpt-allowfails.d 853 B

123456789101112131415161718192021
  1. c: Copyright (C) 1998 - 2022, Daniel Stenberg, <[email protected]>, 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 [email protected] smtp://example.com
  9. See-also: mail-rcpt
  10. ---
  11. When sending data to multiple recipients, by default curl will abort SMTP
  12. conversation if at least one of the recipients causes RCPT TO command to
  13. return an error.
  14. The default behavior can be changed by passing --mail-rcpt-allowfails
  15. command-line option which will make curl ignore errors and proceed with the
  16. remaining valid recipients.
  17. If all recipients trigger RCPT TO failures and this flag is specified, curl
  18. will still abort the SMTP conversation and return the error received from to
  19. the last RCPT TO command.