Skip to content
A django email backend that delivers mails to the database for development.
Latest commit 6dbd3f1 Nov 15, 2012 @stefanfoulis Merge pull request #4 from jbinary/fixes



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).


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.


pip install django-database-email-backend

Add database_email_backend to INSTALLED_APPS and run syncdb or 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.