Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP

A django email backend that delivers mails to the database for development.

branch: develop

Fetching latest commit…

Octocat-spinner-32-eaf2f5

Cannot retrieve the latest commit at this time

Octocat-spinner-32 database_email_backend
Octocat-spinner-32 .gitignore
Octocat-spinner-32 LICENSE
Octocat-spinner-32 MANIFEST.in
Octocat-spinner-32 README.rst
Octocat-spinner-32 setup.py
README.rst

django-database-email-backend

django-database-email-backend is a simple email backend for django that delivers emails to the database. All sent emails can be reviewed and searched in admin. This can be practical while developing where the console backend can't be used (e.g on a development or staging server).

Note

Currently only the plaintext part of the email and the attachments are saved accessable. Future versions of django-database-email-backend will also display alternative content, especially html.

Installation:

pip install django-database-email-backend

Add database_email_backend to INSTALLED_APPS and run manage.py syncdb or manage.py migrate django_database_email_backend if you are using South.

Add the email backend setting:

EMAIL_BACKEND = 'database_email_backend.backend.DatabaseEmailBackend'
Something went wrong with that request. Please try again.