Sending Bulk email in Django

I have to send bulk email in django, the email template will be will be customized and the some data in the template will be coming from db. i twas using django notification but it can only send email to the registered users. I have to send emails to the non-registered users. there will be five email template the user can select any one and the email has to be sent.

For ex. An invitation to the event to the group of non-registered users. user will enter email ids, and will do a bulk send. which django package can i use to achieve the same.


You can use django's default sending multiple email system. From here:

You can try like this:

from django.core import mail
connection = mail.get_connection()
reciever_list= ['', 'dd@ee.ff']  #extend this list according to your requirement
email1 = mail.EmailMessage('Hello', 'Body goes here', '',
                          reciever_list, connection=connection)

For bulk email reference, you can check this so answer: How does one send an email to 10,000 users in Django?


From this stackoverflow answer, you can send emails with template. If you use django 1.7, html_message can be added as perameter of send_mail(). Details here.

By the way, for mass email handling, django has send_mass_mail() method.

Need Your Help

Pinching to zoom in and out of table view

iphone cocoa-touch nstableview pinch pinchzoom

As is done in the "Clear" to-do management app, is the pinching to navigate back from a table view achievable using reasonably standard interface elements, or is this a lot of manual coding hackery?

How can the UltraChart of Infragistics do even better?

c# charts infragistics

I need to convince my management that we can do very nice plots using infragistics, up to know this is what I have:

About UNIX Resources Network

Original, collect and organize Developers related documents, information and materials, contains jQuery, Html, CSS, MySQL, .NET, ASP.NET, SQL, objective-c, iPhone, Ruby on Rails, C, SQL Server, Ruby, Arrays, Regex, ASP.NET MVC, WPF, XML, Ajax, DataBase, and so on.