sklarsa / django-sendgrid-v5

An implementation of Django's EmailBackend compatible with sendgrid-python v5+
MIT License
319 stars 54 forks source link

HTML emails #12

Closed epicfaace closed 6 years ago

epicfaace commented 6 years ago

How do I use this to send emails with HTML in them? Right now the HTML is getting escaped.

sklarsa commented 6 years ago

Can you provide a code example of how you're sending the email? Also take a look at the django documentation for sending emails with html content: https://docs.djangoproject.com/en/1.11/topics/email/#sending-alternative-content-types

epicfaace commented 6 years ago

Oh, I was using the templates for the default PasswordResetView -- and it appears that that view doesn't support HTML-formatted emails. So it isn't a problem with this library -- sorry!