Skip to main content

Django email backend for storing messages to a database.

Project description

Initially, Django email backend for storing messages to a database. This is intended to be used in developement in cases where you want to test sending emails, but don’t want to send real emails and don’t have access to the console output (such as on a remote server).

As this KUWAITNET fork, package has been updated and introduced SMTPDBEmailBackend which is a mixture between SMTP and DB mail backend, it writes to the database then send the email over smtp, if any errors happen while sending it is reflected in the email model. Also Package is now production ready.

Access to Email message content is allowed only for super user as this might be a security hazard.

To install:

pip install django-db-email-backend

In settings.py:

INSTALLED_APPS += ['db_email_backend']
EMAIL_BACKEND = 'db_email_backend.backend.DBEmailBackend'
# or
# EMAIL_BACKEND = 'db_email_backend.backend.SMTPDBEmailBackend'

Project details


Download files

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

Source Distribution

kn-django-db-email-backend-0.5.1.tar.gz (5.9 kB view hashes)

Uploaded Source

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page