Ouauth2 outlook email backend for Django
Project description
Django outlook email backend
Outlook api email backend for Django
First steps
Retrieve the client id, client secret and tenant id from the Azure portal. Follow this documentation: https://learn.microsoft.com/en-us/azure/api-management/authentication-authorization-overview Add the Mail.send permision to the app in the Azure portal.
Requirements
- Python 3.8+
- Django 5.0, 4.2
Installation
Install using pip...
pip install django-outlook-email-backend
Add 'OUTLOOK_CREDENTIALS' in settings.py
OUTLOOK_CREDENTIALS = {
'OUTLOOK_CLIENT_ID': "XXXXX",
'OUTLOOK_CLIENT_SECRET': "XXXXX",
'OUTLOOK_TENANT_ID': "XXXXX",
}
Add 'EMAIL_BACKEND' in settings.py
EMAIL_BACKEND = "django_outlook_email.django_outlook_email_backend.OutlookEmailBackend"
if you want to use json instead of mime add the following line in settings.py
OUTLOOK_CREDENTIALS["OUTLOOK_SEND_FORMAT"] = "json"
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_outlook_email_backend-1.1.24.tar.gz.
File metadata
- Download URL: django_outlook_email_backend-1.1.24.tar.gz
- Upload date:
- Size: 7.6 kB
- Tags: Source
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.7
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
6f8e3198834cb99bd2393c3ea19b1199abc06af5656152f182f7f61f5593cbc4
|
|
| MD5 |
9578840ab4a7c58aeb30d1eddc733122
|
|
| BLAKE2b-256 |
ec2e581498886797adcc6f1f131e41a06a3a58504bf36cb1bcfda2031bf229e1
|
Provenance
The following attestation bundles were made for django_outlook_email_backend-1.1.24.tar.gz:
Publisher:
build.yml on enley-es/django-outlook-email-backend
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
django_outlook_email_backend-1.1.24.tar.gz -
Subject digest:
6f8e3198834cb99bd2393c3ea19b1199abc06af5656152f182f7f61f5593cbc4 - Sigstore transparency entry: 602216559
- Sigstore integration time:
-
Permalink:
enley-es/django-outlook-email-backend@8302d2700bfe4b87338347d983e320a202f84e5a -
Branch / Tag:
refs/tags/v1.1.24 - Owner: https://github.com/enley-es
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
build.yml@8302d2700bfe4b87338347d983e320a202f84e5a -
Trigger Event:
push
-
Statement type:
File details
Details for the file django_outlook_email_backend-1.1.24-py3-none-any.whl.
File metadata
- Download URL: django_outlook_email_backend-1.1.24-py3-none-any.whl
- Upload date:
- Size: 11.2 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.7
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
1c2f15bba4cd159cb9e7e692c6960b3cca2c5df9847db66278ba788ab713c184
|
|
| MD5 |
4132ca64e298f331a7bcf9bf9e968192
|
|
| BLAKE2b-256 |
6ff024a737bad61070f2429506596efe30fe181aa35a844ccade0ec5c23b8bc1
|
Provenance
The following attestation bundles were made for django_outlook_email_backend-1.1.24-py3-none-any.whl:
Publisher:
build.yml on enley-es/django-outlook-email-backend
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
django_outlook_email_backend-1.1.24-py3-none-any.whl -
Subject digest:
1c2f15bba4cd159cb9e7e692c6960b3cca2c5df9847db66278ba788ab713c184 - Sigstore transparency entry: 602216564
- Sigstore integration time:
-
Permalink:
enley-es/django-outlook-email-backend@8302d2700bfe4b87338347d983e320a202f84e5a -
Branch / Tag:
refs/tags/v1.1.24 - Owner: https://github.com/enley-es
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
build.yml@8302d2700bfe4b87338347d983e320a202f84e5a -
Trigger Event:
push
-
Statement type: