Django email backends and webhooks for Amazon SES, Brevo (Sendinblue), MailerSend, Mailgun, Mailjet, Postmark, Postal, Resend, SendGrid, SparkPost, Unisender Go and more
Postmark uses their ErrorCode 300 to report several different
send-time validation errors, some of which identify invalid
recipients that need to be handled specially, but many of which
are ordinary API errors.
Rework the logic for parsing ErrorCode 300 error messages:
Handle only "Invalid 'To'" or "Error parsing 'To'" (or 'Cc'
or 'Bcc') as recipient errors. Otherwise raise an API error.
Fixes #238 silent failure when sending with long metadata keys.
Postmark uses their ErrorCode 300 to report several different send-time validation errors, some of which identify invalid recipients that need to be handled specially, but many of which are ordinary API errors.
Rework the logic for parsing ErrorCode 300 error messages: Handle only "Invalid 'To'" or "Error parsing 'To'" (or 'Cc' or 'Bcc') as recipient errors. Otherwise raise an API error.
Fixes #238 silent failure when sending with long metadata keys.