zapier / django-drip

:droplet: Use Django admin to manage drip campaign emails using querysets on Django's User model.
MIT License
638 stars 137 forks source link

add support for text/plain emails in live preview #35

Closed akoumjian closed 9 years ago

akoumjian commented 10 years ago

If EmailMultiAlternatives doesn't detect html in the template, it message.alternatives will be an empty list. If this is the case, we just grab the content of the body and preview it as plaintext.

bryanhelmig commented 9 years ago

Nice! :+1: Didn't make the 0.6.0 release, but hopefully can push it soon!