SendGrid: generate unique message_id for each batch recipient

Closes #139
This commit is contained in:
medmunds
2019-02-23 15:01:54 -08:00
parent d2d568b6d3
commit 578bad9a57
4 changed files with 77 additions and 30 deletions

View File

@@ -186,6 +186,13 @@ Limitations and quirks
:setting:`SENDGRID_GENERATE_MESSAGE_ID <ANYMAIL_SENDGRID_GENERATE_MESSAGE_ID>`
to False in your Anymail settings.
.. versionchanged:: 6.0
In batch sends, Anymail generates a distinct anymail_id for *each* "to"
recipient. (Previously, a single id was used for all batch recipients.) Check
:attr:`anymail_status.recipients[to_email].message_id <anymail.message.AnymailStatus.recipients>`
for individual batch-send tracking ids.
.. versionchanged:: 3.0
Previously, Anymail generated a custom :mailheader:`Message-ID`