mail-rcpt-allowfails.d 751 B

12345678910111213141516171819
  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. See-also: mail-rcpt
  8. ---
  9. When sending data to multiple recipients, by default curl will abort SMTP
  10. conversation if at least one of the recipients causes RCPT TO command to
  11. return an error.
  12. The default behavior can be changed by passing --mail-rcpt-allowfails
  13. command-line option which will make curl ignore errors and proceed with the
  14. remaining valid recipients.
  15. If all recipients trigger RCPT TO failures and this flag is specified, curl
  16. will still abort the SMTP conversation and return the error received from to
  17. the last RCPT TO command.