Skip to main content

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:

Metadata

Release files for cr-sendmail-django 1.0

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for cr-sendmail-django 1.0
File Size Uploaded
cr_sendmail_django-1.0.tar.gz 4.4 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for cr-sendmail-django 1.0
File Interpreter ABI Platform
cr_sendmail_django-1.0-py3-none-any.whl Python 3 none any Details

Total release size: 9.2 kB

Release files / cr_sendmail_django-1.0.tar.gz

Download URL cr_sendmail_django-1.0.tar.gz
Size 4.4 kB
Tags Source
SHA-256 checksum
How to use checksums
ae103851bcbbe982b8e70016d6c2a6bf118061df4152f1727d292f831e470a00
BLAKE2b-256 checksum
How to use checksums
b0075781a32ac3e7178cc6278da075952740f05153d811104c7e295f002bd6ab
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.1.0 CPython/3.13.2

Release files / cr_sendmail_django-1.0-py3-none-any.whl

Download URL cr_sendmail_django-1.0-py3-none-any.whl
Size 4.8 kB
Tags Python 3
SHA-256 checksum
How to use checksums
589464d1949102c67805dca5aa262cbdd30a527e8c3e5f36dac8c684e2b4fea2
BLAKE2b-256 checksum
How to use checksums
10ffb8e0dd28a809126434c44cb8cb9864359980ff43491c2dadc5734e7183f6
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.1.0 CPython/3.13.2

Release history Release notifications | RSS feed

This release

1.0 This release

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page