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.5.tar.gz (5.0 kB view details)

Uploaded Source

File details

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

File metadata

File hashes

Hashes for django_mail_save-0.0.5.tar.gz
Algorithm Hash digest
SHA256 5d3e43f1b6bc0e6b21ea4ced058d6e731968b13223e248c82716d0067d10a72f
MD5 9a51fd935261408f5afc3aa823a7bd9c
BLAKE2b-256 132116c0bf8ee69149cbd3dfaeb5a613a080b291b4688cc5f52204f3f2bb047d

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