Want to send through more than one interface? E.g. SMTP and database? This is your solution
Project description
An easy solution to send your email to more than one backend, e.g. if you want to send it to the user via SMTP but also log it to keep the record of send’ emails.
Usage
This example.py will output your emails to the console and save it in a folder on your filesystem. You could ofcourse combine this as you want, e.g. the SMTP backend and the filebackend.
EMAIL_BACKEND = "django_multiple_email_backends.backend.CombinedEmailBackend" EMAIL_BACKEND_LIST = ['django.core.mail.backends.console.EmailBackend', 'django.core.mail.backends.filebased.EmailBackend']
License
BSD
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
File details
Details for the file django-multiple-email-backends-0.1a3.tar.gz
.
File metadata
- Download URL: django-multiple-email-backends-0.1a3.tar.gz
- Upload date:
- Size: 2.0 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 341b2f418ce027cb266d2033348bd337c7e0970fe46f4d7729527f57c2f91209 |
|
MD5 | f5ff9bf65dbebc67676a0672db56b3a9 |
|
BLAKE2b-256 | 177b839812d8a3511bd670a85592b35e8c0c976bc70f2362caac2e7ef5ec1ca1 |