Postmark: Handle responses with missing ErrorCode and "delivery may be delayed".

Fixes #392.
This commit is contained in:
Mike Edmunds
2024-12-10 13:01:18 -08:00
parent 8def0bdc06
commit 77b9701b5e
3 changed files with 32 additions and 3 deletions

View File

@@ -43,9 +43,16 @@ Fixes
* **Mailjet:** Avoid a Mailjet API error when sending an inline image without a
filename. (Anymail now substitutes ``"attachment"`` for the missing filename.)
(Thanks to `@chickahoona`_ for reporting the issue.)
* **Mailjet:** Fix a JSON parsing error on Mailjet 429 "too many requests" API
responses. (Thanks to `@rodrigondec`_ for reporting the issue.)
* **Postmark:** Fix a parsing error when Postmark indicates a sent message has
been delayed, which can occur if your message stream is paused or throttled or
when Postmark is experiencing service issues. These messages will now report
"queued" in the ``anymail_status`` (rather than throwing an error or reporting
"sent"). (Thanks to `@jmduke`_ for reporting the issue.)
v12.0
-----