pmclanahan / django-celery-email

A Django email backend that uses a celery task for sending the email.
BSD 3-Clause "New" or "Revised" License
477 stars 110 forks source link

Anymail compatibility #75

Open simondrabble opened 4 years ago

simondrabble commented 4 years ago

It looks like this package is incompatible with anymail, specifically template_id and merge_data message members do not appear to survive the provided backend. I suspect this occurs during the dict-ification process in said backend, but I haven't dug deeply into it.

It would be nice for these two packages to work together.

violuke commented 3 years ago

I've not tested this myself (we use Anymail, but don't use any of the custom options), however apparently you can easily make this compatible with some config, see https://stackoverflow.com/a/55031907/1178671

I hope this helps 👍