Add support for html email messages through django.core.mail.send_mail()
|Reported by:||jmichalicek||Owned by:||nobody|
|Has patch:||yes||Needs documentation:||no|
|Needs tests:||no||Patch needs improvement:||yes|
I have run into several instances where it makes sense to be able to send html email messages through django.core.mail.send_mail(). Allowing this would also be consistent with the mail_admins() and mail_managers() functions.
When adding this I did see that the comments for send_mail() say that the api is frozen. I had previously asked about this feature on the django-developers google group in this thread https://groups.google.com/forum/#!topic/django-developers/_mXKP9JZzK0 so I hope this is not a problem.
I have forked the repo and created a feature branch at https://github.com/jmichalicek/django/tree/add_send_mail_html_message which has the feature, updated documentation, and test cases.
Change History (5)
comment:1 Changed 21 months ago by timo
- Cc timograham@… added
- Needs documentation unset
- Needs tests unset
- Patch needs improvement set
- Triage Stage changed from Unreviewed to Accepted
comment:3 Changed 21 months ago by Tim Graham <timograham@…>
- Resolution set to fixed
- Status changed from new to closed