Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Django: Send HTML email via send_mass_mail()

It seems from the docs on email that HTML is supposed for send_mail() but not send_mass_mail(). Is my understanding correct, and if so is there a work-around to get the send_mass_mail() functionality with HTML without writing a custom loop?

https://docs.djangoproject.com/en/1.7/topics/email/

like image 596
Krishan Gupta Avatar asked Oct 31 '22 15:10

Krishan Gupta


1 Answers

You should check this answer where the guy creates a customized send_mass_mail() function that accepts HTML working with EmailMultiAlternatives

like image 89
pyjavo Avatar answered Nov 10 '22 00:11

pyjavo