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 108 forks source link

HTML only emails sent as plain text #18

Closed gnarvaja closed 9 years ago

gnarvaja commented 9 years ago

Messages with content_subtype overridden to "html" are sent as plain text when passing through djcelery.

It's because in the serialization process (email_to_dict function), only some attributes are copied.

Fix in https://github.com/pmclanahan/django-celery-email/pull/17

samcheng commented 9 years ago

I can confirm the bug, and the fix looks pretty good to me! Is there any timeline for a 1.1.2 release, so I don't have to fork? Thanks for the useful library!

pmclanahan commented 9 years ago

@samcheng I can cut a release today. I'll post here when I do.

pmclanahan commented 9 years ago

It's up. Thanks again @gnarvaja !

https://pypi.python.org/pypi/django-celery-email/1.1.2

samcheng commented 9 years ago

Excellent! Thank you, Paul!