Skip to main content

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


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

django-multiple-email-backends-0.1a2.tar.gz (2.0 kB view details)

Uploaded Source

File details

Details for the file django-multiple-email-backends-0.1a2.tar.gz.

File metadata

File hashes

Hashes for django-multiple-email-backends-0.1a2.tar.gz
Algorithm Hash digest
SHA256 1fc7913235b0c1446ad466054393672ffc7fba3aa515e873c26afb1f257bc5af
MD5 322f6a0a0c6f8df8fd6202daa7902e30
BLAKE2b-256 c796481a26000a4d50e5307c8e258ed02bafa8d7b67fc8c90eda42b09699faeb

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page