Skip to main content
Join the official 2019 Python Developers SurveyStart the survey!

Save outgoing mail to the database

Project description

Saves all emails sent to the database and can be viewed in django’s admin interface. Includes attachments and alternative email formats such as text/html.

Tests and more backends to follow. Also to follow is the abilit to resend emails, create new etc.

Installation

Installation with pip:

$ pip install django_mail_save

Setup

Add the following apps to the INSTALLED_APPS:

INSTALLED_APPS = (
    ...
    'mail_save',
    ...
)

Override the EMAIL_BACKEND in settings.py:

EMAIL_BACKEND = 'mail_save.backends.smtp.EmailBackend'

Add mail_save urls in urls.py:

url(r'^mail_save/', include('mail_save.urls', namespace='mail_save')),

Attachments are saved using django’s FileField so be sure to setup your MEDIA_ROOT AND URLS

Project details


Download files

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

Files for django_mail_save, version 0.0.6
Filename, size File type Python version Upload date Hashes
Filename, size django_mail_save-0.0.6.tar.gz (5.0 kB) File type Source Python version None Upload date Hashes View hashes

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