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'

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.

Source Distribution

django_mail_save-0.0.6.tar.gz (5.0 kB view details)

Uploaded Source

File details

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

File metadata

File hashes

Hashes for django_mail_save-0.0.6.tar.gz
Algorithm Hash digest
SHA256 65f0044ab36612d9cff1d45a480e5596009fed5e2b403b9f5054494b2bbb2451
MD5 4a64effbe9a3803a6e7e9192f4627f17
BLAKE2b-256 134fcc1c884d63bb7df75fed0da00380de0c7c51f35aacf0932d84c75785ecb7

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