The Django-related reusable app provides the ability to send multipart emails and store them in a database.
Project description
Introduction
django-fs-email 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 using pip:
$ pip install django-fs-email
Add 'email' to your INSTALLED_APPS setting:
INSTALLED_APPS = ( ... 'fs_email', ... )
Run migrate:
$ ./manage.py migrate
Usage
Just import send_email function and use it:
from fs_email import send_email send_email('from_email@example.com', 'to_email@example.com', 'fs_email/email_template.html', {}) send_email('from_email@example.com', ['to_email_1@example.com', 'to_email_2@example.com'], 'fs_email/email_template.html', {})
Credits
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
django-fs-email-1.0.2.tar.gz
(5.0 kB
view details)
Built Distribution
File details
Details for the file django-fs-email-1.0.2.tar.gz
.
File metadata
- Download URL: django-fs-email-1.0.2.tar.gz
- Upload date:
- Size: 5.0 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.2.0 pkginfo/1.6.1 requests/2.24.0 setuptools/51.0.0 requests-toolbelt/0.9.1 tqdm/4.51.0 CPython/3.6.9
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 467f162f8ff9e23f85224d120879fa73a3e5399b899a086c714d829b4d483884 |
|
MD5 | e0f84370291f3371a7481c66cb350816 |
|
BLAKE2b-256 | 68b5ee5eb905a3d79231cc66b1c9282bc8f5836a4f49aa0cc4fb3e033831b680 |
File details
Details for the file django_fs_email-1.0.2-py3-none-any.whl
.
File metadata
- Download URL: django_fs_email-1.0.2-py3-none-any.whl
- Upload date:
- Size: 7.2 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.2.0 pkginfo/1.6.1 requests/2.24.0 setuptools/51.0.0 requests-toolbelt/0.9.1 tqdm/4.51.0 CPython/3.6.9
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 778e4705ae3ba20e0f714398a54e192f910fe91a101b7d90e14bdf85c83e2804 |
|
MD5 | 34394d2de94e0b4b14943e20379427cd |
|
BLAKE2b-256 | 80937348f9d8eada56ed77094f56d9140a4d1aea4b968e9d8ea006b3fc56f7c7 |