Skip to main content

A better Django email backend for Azure Communication Email service.

Project description

codecov

Django Better Azure Communication Email

This is a fork from: https://github.com/retech-us/django-azure-communication-email

A Django email backend for Azure Communication Email service.

Installation

Run the following on your system:

pip install django-better-azure-communication-email

Then, add these settings to your Django settings.py:

EMAIL_BACKEND = 'django_better_azure_communication_email.EmailBackend'

AZURE_COMMUNICATION_CONNECTION_STRING = '...'
# OR
AZURE_KEY_CREDENTIAL = '...'
AZURE_COMMUNICATION_ENDPOINT = '...'

If you prefer to use Azure Active Directory authentication, you can use the following settings.py instead:

EMAIL_BACKEND = 'django_better_azure_communication_email.EmailBackend'

AZURE_COMMUNICATION_ENDPOINT = '...'

# Note: make sure to set the following environment variables:
# AZURE_TENANT_ID, AZURE_CLIENT_ID, AZURE_CLIENT_SECRET

Now, when you use django.core.mail.send_mail, Azure Communication Email service will send the messages by default.

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

Built Distribution

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

File details

Details for the file django_better_azure_communication_email-0.0.0.tar.gz.

File metadata

File hashes

Hashes for django_better_azure_communication_email-0.0.0.tar.gz
Algorithm Hash digest
SHA256 071ef4a4779cf134c684fdef693cfcf5d493b3437b0ac848833a56f300c1b1a3
MD5 75495b7d726e57d01520b15626db4455
BLAKE2b-256 0ab7290afd7b2638e45e8655d0fa52f2d6fd668ed388470424365b3bcd2d7aca

See more details on using hashes here.

File details

Details for the file django_better_azure_communication_email-0.0.0-py3-none-any.whl.

File metadata

File hashes

Hashes for django_better_azure_communication_email-0.0.0-py3-none-any.whl
Algorithm Hash digest
SHA256 07cbba8c17917232ef44264b3499ed625f1432e9d2c9e8b920f1b7999838f817
MD5 91cca31a28e9da86774e9e40b18b0531
BLAKE2b-256 77dce904b10f1817ea0aa65fa00338336e8ca99af5da404873d56418a7a6e3b4

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