Skip to main content

Django email backend which invokes system `sendmail` binary.

Project description

cr-sendmail-django

Django email backend which invokes system sendmail binary.

Usage

In your Django settings, set the email backend:

EMAIL_BACKEND = "cr_sendmail.backends.SendmailBackend"

You can also specify a path to the sendmail binary:

SENDMAIL_BINARY = "/path/to/sendmail"

NOTE: this package does not send mail on its own. It requires a fully configured Mail Transport Agent (MTA) on your server. Only use this package if you have configured an MTA such as exim, postfix, etc. on your server. CodeRed Cloud hosting does provide a fully functional MTA with paid plans; however other providers such as AWS, Azure, Digital Ocean, Heroku, etc. do not by default.

Logging

This package uses Python logging to logger named cr-sendmail-django. To see log output, configure Django logging.

Compatibility with django_sendmail_backend

This package also provides a compatible django_sendmail_backend package, as a drop-in replacement for existing sites without modification.

EMAIL_BACKEND = "django_sendmail_backend.backends.EmailBackend"

Credits

This package is a replacement for django_sendmail_backend, supported by CodeRed.

Thanks to:

Project details


Release history Release notifications | RSS feed

This version

1.0

Download files

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

Source Distribution

cr_sendmail_django-1.0.tar.gz (4.4 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

cr_sendmail_django-1.0-py3-none-any.whl (4.8 kB view details)

Uploaded Python 3

File details

Details for the file cr_sendmail_django-1.0.tar.gz.

File metadata

  • Download URL: cr_sendmail_django-1.0.tar.gz
  • Upload date:
  • Size: 4.4 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.13.2

File hashes

Hashes for cr_sendmail_django-1.0.tar.gz
Algorithm Hash digest
SHA256 ae103851bcbbe982b8e70016d6c2a6bf118061df4152f1727d292f831e470a00
MD5 9167703d304d061cbbe3f09850fa866f
BLAKE2b-256 b0075781a32ac3e7178cc6278da075952740f05153d811104c7e295f002bd6ab

See more details on using hashes here.

File details

Details for the file cr_sendmail_django-1.0-py3-none-any.whl.

File metadata

File hashes

Hashes for cr_sendmail_django-1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 589464d1949102c67805dca5aa262cbdd30a527e8c3e5f36dac8c684e2b4fea2
MD5 2d23b3f2347b69c2d7e26f19ab133327
BLAKE2b-256 10ffb8e0dd28a809126434c44cb8cb9864359980ff43491c2dadc5734e7183f6

See more details on using hashes here.

Supported by

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