Software Index
Linux Software E-Mail Tools  

django-mailer

download download home home   report broken
important software information
company name:
James Tauber
license: Freeware
minimum requirements:
functional limitations:
django-mailer description
django-mailer is asynchronous so in addition to putting mail on the queue you need to periodically tell it to clear the queue and actually send the mail.

The latter is done via a command extension.

Sample Use Cases

* a site admin wants to send a one-off announcement to all users on a site
* a site admin wants to send a one-off email to a subset of users (e.g. thank you note to users who completed a survey)
* a site admin wants to send an email but wants to defer it to a particular date or time (e.g. send out at 9am tomorrow a reminder of the scheduled downtime at 10am)
* a site admin wants to send a regular email to a subset of users (e.g. people who haven't logged in for over a month)
* a user wants email notification when certain events specific to them happen (e.g. a friend accepts their invitation to join a group, they receive a private message)
* a user wants email notification when certain events relevant to a subset of users happen (e.g. there has been a reply to a message board thread or blog entry that the user has subscribed to)
* a user doesn't want individual emails for each notification but wants them in digest form (e.g. a daily digest of new posts or a weekly update on friends who have joined)

Scope Questions

* django-mailer should not manage actual subscriptions to events. Consider the "new reply to message board thread" use case. The overall site would need to keep track of which users subscribed to which threads and then when a thread is updated, django-mailer would be asked to send the same message to that list of users. But the django-notification app should keep track of which users subscribed to which threads and similar use cases.

Putting Mail On The Queue

Because django-mailer currently uses the same function signature as Django's core mail support you can do the following in your code:

# favour django-mailer but fall back to django.core.mail
from django.conf import settings

if "mailer" in settings.INSTALLED_APPS:
from mailer import send_mail
else:
from django.core.mail import send_mail

and then just call send_mail like you normally would in Django:

send_mail(subject, message_body, settings.DEFAULT_FROM_EMAIL, recipients)

Additionally you can send all the admins as specified in the ADMIN setting by calling:

mail_admins(subject, message_body)

or all managers as defined in the MANAGERS setting by calling:

mail_managers(subject, message_body)

Clear Queue With Command Extensions

With mailer in your INSTALLED_APPS, there will be two new manage.py commands you can run:

* send_mail will clear the current message queue. If there are any failures, they will be marked deferred and will not be attempted again by send_mail.
* retry_deferred will move any deferred mail back into the normal queue (so it will be attempted again on the next send_mail).

You may want to set these up via cron to run regularly:

* * * * * (cd $PINAX; /usr/local/bin/python2.5 manage.py send_mail >> $PINAX/cron_mail.log 2>&1)
0,20,40 * * * * (cd $PINAX; /usr/local/bin/python2.5 manage.py retry_deferred >> $PINAX/cron_mail_deferred.log 2>&1)

This attempts to send mail every minute with a retry on failure every 20 minutes.

manage.py send_mail uses a lock file in case clearing the queue takes longer than the interval between calling manage.py send_mail.. . Publisher of django-mailer, Author of django-mailer 0.1.0. django-mailer is asynchronous so in addition to putting mail on the queue you need to periodically tell it to clear the queue and actually send the mail. The latter is done via a command ext
Similar software
django-email-confirmation (Popularity: ) : django-email-confirmation is a simple Django plugin is for cases where you don't want to require an email address to signup on your website but you do still want to ask for an email address and be able to confirm it ...
MailNG (Popularity: ) : MailNG is a management system and web-based interface for virtual domains hosting. This software is written in Python (>= 2.5) and uses several web components:

· Django framework,
· Mootools javascript framework.

The icons collection used inside MailNG comes from the Tango project.

MailNG ...

mailer (Popularity: ) : A module that simplifies sending email

mailer is a Python library that simplifies sending of e-mails.

Example (sending an HTML email):

from mailer import Mailer
from mailer import Message

message = Message(From="me@example.com",
To="you@example.com",
charset="utf-8")
message.Subject = "An HTML Email"
message.Html = """This email uses HTML!"""
message.Body = """This is alternate ...

Sylpheed (Popularity: ) : Sylpheed is a GTK+ based, lightweight, and fast email client. Almost all commands are accessible with the keyboard.

Sylpheed also has many features such as multiple accounts, POP3/APOP support, thread display, and multipart MIME.

One of Sylpheed's future goals is to be ...

Turbo Mailer for Linux (Popularity: ) : Turbo-Mailer for Linux is a full-featured software for sending out bulk email like newsletters or personalized circulars over SMTP servers. It sends text and HTML mail, attachments and embedded images. Personalization of mail text and subject from table columns is ...
amavisd-new (Popularity: ) : amavisd-new is a high-performance and reliable interface between mailer (MTA) and one or more content checkers: virus scanners, and/or Mail::SpamAssassin Perl module. amavisd-new is written in Perl, ensuring high portability, reliability and maintainability. It talks to MTA via (E)SMTP or ...
Exim (Popularity: ) : Exim is a message transfer agent (MTA) developed at the University of Cambridge for use on Unix systems connected to the Internet.

Exim is freely available under the terms of the GNU General Public Licence. In style it is similar to ...

Evolution Mapi for Linux (Popularity: ) : Evolution Mapi is a plugin for the powerful Evolution e-mail client.

Here are some key features of "Evolution Mapi":

Mailer:

· Folder List Fetching
· Summary Fetching
· Message Fetch
· Mulitipart mails
· Sending Mails (Plain text + Attachment)
· Message Deletion
· Message Flags Sync

Folder Operations:
· Create
· ...

Evolution Mapi (Popularity: ) : Evolution Mapi is a plugin for the powerful Evolution e-mail client.

Here are some key features of "Evolution Mapi":

Mailer:

· Folder List Fetching
· Summary Fetching
· Message Fetch
· Mulitipart mails
· Sending Mails (Plain text + Attachment)
· Message Deletion
· Message Flags Sync

Folder Operations:
· Create
· ...

Mailtools (Popularity: ) : Writing a web application? Want to send some emails from it? Mailtools is an application that can help you with that!

* Simple API for sending plain text messages, HTML and messages with attachments.
* ThreadedMailer sends emails in the background and ...

DocBook XSL Configurator (Popularity: ) : DocBook XSL Configurator is a Java (Swing) application used to create DocBook XSL FO customization layers.

DocBook XSL Configurator consists of a Java GUI used to create DocBook XSL FO customization layers.

Each table contains a group of DocBook XSL FO parameters. ...

dhcpdump2 (Popularity: ) : dhcpdump2 represents the progress of the original dhcpdump utility. Added some functionality concerning to option82 of dhcp protocol: - '-s, --short' - only querier's vlan & port and relay agent's IP (in decimal) - '-k, --switch-ip' - traffic only regarding ...
User reviews

Write a review:
1 2 3 4 5 6 7 8 9 10
1=poor 10=excellent
Write review*
Your name*
Email*
  (Comments are moderated, and will not appear on this site until the editor has approved them)
 
Similar scripts
Free PHP form mailer script (Popularity: ) : Add an email form to your website within a minute with my PHP mailer script so that your customers can contact you by email quickly and easily. The script is fully customisable by editing a simple configuration file.The BELLonline mailer ...
Form Mailer PHP (Popularity: ) : Form Mailer script allows you to send to email your forms content. Easy to use, flexible, written with php. Easily sent email messages using php mail() functions. Just design form...
EEEzy Feedback Mailer (Popularity: ) : EEEzy Feedback Mailer allows you to introduce a contact form in your website.EEEzy Feedback Mailer is a one file script written in php. No underscores left in your email! Easy to modify and adapt to your website.
Advanced Bulk Mailer (Popularity: ) : If you have more than 1000 or 2000 customers in your shop and want to send them a newsletter, you might realize that not all of them acutally receive it (PHP timeout).The Advanced Bulk Mailer contribution lets you send those ...
Mailer! (Popularity: ) : The script Mailer is a form processing software made for professional use. It helps you to create every kind of form you could ever think of and stores e-mail adresses in a database.Pages are created with html Templates and the ...
Form mailer for Script (Popularity: ) : Form mailer script is a simple form mailer with possibility to attach a file to the message.
Alternative Mailer - Swift Mailer (Popularity: ) : This package includes Swift Mailer for PHP 4 and PHP 5 versions. It enhances the option set over Shiftthis SMTP plugin and allows for Sendmail and PHP native mail() solutions with SMTP. So everything you can do with Shiftthis, you ...
1st Mass Mailer (Popularity: ) : This is a very fast mass mailer with a lot of useful features. This bulk email program is used by many internet professionals and on-line store owners, to notify their customers about various events and promote their new products.
A Free Form Mailer (Popularity: ) : This software is free for the webmasters to create form mailer on their own website. Webmasters should just submit their requirements on this site and the form will be automatically generated for them. It protects the forms from unauthorised persons ...
Advance Mailer (Popularity: ) : Advance Mailer is designed for perl supported websites to communicate with visitors using in-built mailing lists. Both subscribe and unsubscribe can be done dynamically. POP3 module enables to gather bounced mails and helps to clean up incoming mail folder. Message ...
Rate me
supported os's
stats
downloads 7
version 0.1.0
size in Kb 10
popularity   
1539/1272475
user rating 0/10
our rating 0 Stars
share info
Recommend django-mailer
Report spyware
New Software
Popular Software
Latest Reviews