The Django-related reusable app provides the ability to send multipart emails and store them in a database.
Project description
Introduction
django-fs-email-helper is the Django-related reusable app provides the ability to send multipart emails and store them in a database.
The distinctive feature of this app is storing sent emails in database. It means that you have ability to check each sent email from admin interface.
Installation
Install django-fs-email-helper using pip:
$ pip install django-fs-email-helper
Add 'email_helper' to your INSTALLED_APPS setting:
INSTALLED_APPS = ( ... 'email_helper', ... )
Run syncdb or migrate:
$ ./manage.py syncdb or $ ./manage.py migrate
Usage
Just import send_email function and use it:
from email_helper import send_email send_email('from_email@example.com', 'to_email@example.com', 'email_helper/email_template.html', {}) send_email('from_email@example.com', ['to_email_1@example.com', 'to_email_2@example.com'], 'email_helper/email_template.html', {})
Credits
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
Close
Hashes for django-fs-email-helper-0.2.3.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | f6556d9e1b2e20a9da4c8cf4d65e40ccf5800c7cdff865b67cc685c90b3e863e |
|
MD5 | 3b448028b58f1df060049226fab98b7c |
|
BLAKE2b-256 | aa4a877855960138b69635a17a179346c7239af453c64a90a77ef881ff88b690 |