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
Built Distribution
File details
Details for the file django-fs-email-helper-0.3.tar.gz
.
File metadata
- Download URL: django-fs-email-helper-0.3.tar.gz
- Upload date:
- Size: 4.9 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 42b1e09b97397eb707ce3e72c6dc777227adf690e43d9986be7b211efb1c7600 |
|
MD5 | 00980e3647be5ac2cfdee7a7af279e80 |
|
BLAKE2b-256 | d803a2857dbda2a11e0c0c94d777e8f3b8c297a94c6cf6509d8167652de2829e |
File details
Details for the file django_fs_email_helper-0.3-py2-none-any.whl
.
File metadata
- Download URL: django_fs_email_helper-0.3-py2-none-any.whl
- Upload date:
- Size: 7.4 kB
- Tags: Python 2
- Uploaded using Trusted Publishing? No
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 61914c9da2cca867e1d0ab60ea517ae57a835dc26f3778c3fe15c7834067a308 |
|
MD5 | 89077f28711a9e7a2c75943ec73008f0 |
|
BLAKE2b-256 | 365ac0a85197423193a69d7f8d61f7ca9c3258a4a64c01e18b3199f7f4f03676 |