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.1.tar.gz.

File metadata

File hashes

Hashes for django_better_azure_communication_email-0.0.1.tar.gz
Algorithm Hash digest
SHA256 ab0d23e36ad3bca999fde090c4db1c56736362cc6977b33865326147b381542e
MD5 3c0ffbf1433f5eacec0fddf9e1e4cd15
BLAKE2b-256 1defe092c76c280a585f8a3fbe421d4ba54c66ca50b9bdf530624787dfbaa5f8

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for django_better_azure_communication_email-0.0.1-py3-none-any.whl
Algorithm Hash digest
SHA256 1ed3fc5339d62a5772b18a5f4c6c2a0f617c84c37e5d68f413a9f4b31d178e2c
MD5 885b9ca76a644f0b6efe8eb9c793a7f1
BLAKE2b-256 96c7829487217e0adb33116a458c4297f522ecf2e6642e5945db2d406fe379aa

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