A better Django email backend for Azure Communication Email service.
Project description
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
Release history Release notifications | RSS feed
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
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file django_better_azure_communication_email-0.0.0.tar.gz.
File metadata
- Download URL: django_better_azure_communication_email-0.0.0.tar.gz
- Upload date:
- Size: 8.9 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: poetry/1.8.5 CPython/3.10.12 Linux/6.5.0-1025-azure
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
071ef4a4779cf134c684fdef693cfcf5d493b3437b0ac848833a56f300c1b1a3
|
|
| MD5 |
75495b7d726e57d01520b15626db4455
|
|
| BLAKE2b-256 |
0ab7290afd7b2638e45e8655d0fa52f2d6fd668ed388470424365b3bcd2d7aca
|
File details
Details for the file django_better_azure_communication_email-0.0.0-py3-none-any.whl.
File metadata
- Download URL: django_better_azure_communication_email-0.0.0-py3-none-any.whl
- Upload date:
- Size: 10.5 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: poetry/1.8.5 CPython/3.10.12 Linux/6.5.0-1025-azure
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
07cbba8c17917232ef44264b3499ed625f1432e9d2c9e8b920f1b7999838f817
|
|
| MD5 |
91cca31a28e9da86774e9e40b18b0531
|
|
| BLAKE2b-256 |
77dce904b10f1817ea0aa65fa00338336e8ca99af5da404873d56418a7a6e3b4
|