Hi Michael, it looks like we're not enhancing send_mass_mail() as per the docstring [0]: "The API for this method is frozen. New code wanting to extend the functionality should use the EmailMessage class directly." Perhaps the documentation could be clarified.
[0] https://github.com/django/django/commit/d5d2072bbfc38015a93d6e13136c3f1dbf125d87 On Friday, March 3, 2017 at 7:26:48 PM UTC-5, Michael Scheper wrote: > > It seems I'm not the only one > <http://stackoverflow.com/questions/7583801/send-mass-emails-with-emailmultialternatives> > > who wants to include HTML in messages sent via send_mass_mail() > <https://docs.djangoproject.com/en/1.10/topics/email/#send-mass-mail>. It > also seems an easy feature to add; if the tuple has a fifth element, assume > it's an html_message. > > Actually, I feel like I'm reinventing the wheel by passing it though > django.template.loader.render_to_string() > <https://docs.djangoproject.com/en/1.10/topics/templates/#django.template.loader.render_to_string>, > > too. I've copied the same six-line function to numerous projects already. > > I'm suggesting these features here, as per Requesting features > <https://docs.djangoproject.com/en/dev/internals/contributing/bugs-and-features/#requesting-features> > > in the docs. > > Thanks! > -- You received this message because you are subscribed to the Google Groups "Django developers (Contributions to Django itself)" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To post to this group, send email to [email protected]. Visit this group at https://groups.google.com/group/django-developers. To view this discussion on the web visit https://groups.google.com/d/msgid/django-developers/915c59f9-c811-4c6a-94c6-1f1f334f79f2%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.
