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

Uploaded Source

File details

Details for the file django_mail_save-0.0.1.tar.gz.

File metadata

File hashes

Hashes for django_mail_save-0.0.1.tar.gz
Algorithm Hash digest
SHA256 634db3ca99da22a9504d4587f2c57cd831c2791dea94c82258e154e6c8eae412
MD5 662b992d8fdcbfc6f536439b3f4c2b39
BLAKE2b-256 0b2ae64b692943153499edab3863c1e73a1a8c55b16e004564d141eca3c9db05

See more details on using hashes here.

Supported by

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