Skip to content

In SendGrid batch sends, should use different message_id for each recipient #139

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
medmunds opened this issue Feb 5, 2019 · 1 comment

Comments

@medmunds
Copy link
Contributor

medmunds commented Feb 5, 2019

(ESP: SendGrid; Anymail v3.0 and later)

Since #109, Anymail generates a unique tracking message_id for each SendGrid send.

If you are also using batch sending, the same message_id is used for all recipients in the batch. This can complicate tracking send status, etc., on individual recipient messages.

Since the message_id is implemented as a SendGrid custom_args, and SendGrid's personalizations format supports individual custom_args for each message in a batch, Anymail should generate a separate message_id for each recipient.

@medmunds
Copy link
Contributor Author

Released in Anymail v6.0.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant