mirror of
https://github.com/pacnpal/django-anymail.git
synced 2025-12-20 03:41:05 -05:00
Postmark docs notwithstanding, Postmark allows sending mail without a To field, as long as there is some recipient in Cc or Bcc. The API response has a slightly different shape in this case, and Anymail now handles that. Also updates related recipient status parsing. Previously, Anymail's Postmark backend converted all recipient emails to lowercase for status reporting, and omitted Cc or Bcc recipients from `message.anymail_status.recipients[email]`. Now, the backend preserves the case of each recipient email as originally sent, and includes Cc and Bcc status. Because client code may have been relying on lowercasing recipient emails to check status, this is a potentially breaking change. Fixes #135