mail-rcpt-allowfails.d 731 B

123456789101112131415161718
  1. Long: mail-rcpt-allowfails
  2. Help: Allow RCPT TO command to fail for some recipients
  3. Protocols: SMTP
  4. Added: 7.69.0
  5. Category: smtp
  6. Example: --mail-rcpt-allowfails --mail-rcpt dest@example.com smtp://example.com
  7. ---
  8. When sending data to multiple recipients, by default curl will abort SMTP
  9. conversation if at least one of the recipients causes RCPT TO command to
  10. return an error.
  11. The default behavior can be changed by passing --mail-rcpt-allowfails
  12. command-line option which will make curl ignore errors and proceed with the
  13. remaining valid recipients.
  14. If all recipients trigger RCPT TO failures and this flag is specified, curl
  15. will still abort the SMTP conversation and return the error received from to
  16. the last RCPT TO command.