Skip to main content

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'

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.

Source Distribution

django_mail_save-0.0.1.tar.gz (3.6 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