Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
mail queuing and management for the Django web framework
Python
branch: master

This branch is 79 commits ahead, 2 commits behind jtauber:master

README.rst

django-mailer

django-mailer by James Tauber <http://jtauber.com/> https://github.com/pinax/django-mailer

A reusable Django app for queuing the sending of email

Simple usage instructions:

In settings.py:

EMAIL_BACKEND = "mailer.backend.DbBackend"

In a cron job file:

*       * * * * (/path/to/your/python /path/to/your/manage.py send_mail >> ~/cron_mail.log 2>&1)
0,20,40 * * * * (/path/to/your/python /path/to/your/manage.py retry_deferred >> ~/cron_mail_deferred.log 2>&1)

See usage.rst in the docs for more advanced use cases - https://github.com/pinax/django-mailer/blob/master/docs/usage.rst#usage

To run tests:

$ ./manage.py test mailer

To run tests on all versions:

$ pip install tox
$ tox
Something went wrong with that request. Please try again.