Skip to content

mail queuing and management for the Django web framework

License

Notifications You must be signed in to change notification settings

mlvn23/django-mailer

 
 

Repository files navigation

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.txt in the docs for more advanced use cases.

To run tests:

$ ./manage.py test mailer

To run tests on all versions:

$ pip install tox
$ tox

About

mail queuing and management for the Django web framework

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • Python 100.0%