Skip to main content

A django mail queue

Project description

[![Coverage Status](https://img.shields.io/coveralls/bulv1ne/django-redis-mailer.svg)](https://coveralls.io/r/bulv1ne/django-redis-mailer) [![Build Status](https://travis-ci.org/bulv1ne/django-redis-mailer.svg?branch=master)](https://travis-ci.org/bulv1ne/django-redis-mailer)

django-redis-mailer is based on [django-mailer](https://github.com/pinax/django-mailer). The differences are that it works with redis as a queue, and it is a simplified version (no database models).

The project is in the early stages, it is not recommended to use this in production.

In settings.py:

`python EMAIL_BACKEND = 'django_redis_mailer.backend.RedisBackend' `

Optional settings:

`python REDIS_MAILER_LOCATION = '127.0.0.1:6379:1'  # host:port:db number REDIS_MAILER_KEY = 'mail_queue'  # The key in redis to use `

In a cron file:

` * * * * * (/path/to/your/python /path/to/your/manage.py send_mail >> ~/cron_mail.log 2>&1) `

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Filename, size & hash SHA256 hash help File type Python version Upload date
django-redis-mailer-0.2.tar.gz (2.8 kB) Copy SHA256 hash SHA256 Source None Nov 22, 2014

Supported by

Elastic Elastic Search Pingdom Pingdom Monitoring Google Google BigQuery Sentry Sentry Error logging AWS AWS Cloud computing DataDog DataDog Monitoring Fastly Fastly CDN SignalFx SignalFx Supporter DigiCert DigiCert EV certificate StatusPage StatusPage Status page