Skip to main content

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"

Metadata

Release files for django-outlook-email-backend 1.1.24

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

Source distribution (sdist)

Source distribution for django-outlook-email-backend 1.1.24
File Size Uploaded
django_outlook_email_backend-1.1.24.tar.gz 7.6 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for django-outlook-email-backend 1.1.24
File Interpreter ABI Platform
django_outlook_email_backend-1.1.24-py3-none-any.whl Python 3 none any Details

Total release size: 18.8 kB

Release files / django_outlook_email_backend-1.1.24.tar.gz

Download URL django_outlook_email_backend-1.1.24.tar.gz
Size 7.6 kB
Tags Source
SHA-256 checksum
How to use checksums
6f8e3198834cb99bd2393c3ea19b1199abc06af5656152f182f7f61f5593cbc4
BLAKE2b-256 checksum
How to use checksums
ec2e581498886797adcc6f1f131e41a06a3a58504bf36cb1bcfda2031bf229e1
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/6.1.0 CPython/3.13.7

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Oct 13, 2025.

Transparency log

Release files / django_outlook_email_backend-1.1.24-py3-none-any.whl

Download URL django_outlook_email_backend-1.1.24-py3-none-any.whl
Size 11.2 kB
Tags Python 3
SHA-256 checksum
How to use checksums
1c2f15bba4cd159cb9e7e692c6960b3cca2c5df9847db66278ba788ab713c184
BLAKE2b-256 checksum
How to use checksums
6ff024a737bad61070f2429506596efe30fe181aa35a844ccade0ec5c23b8bc1
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/6.1.0 CPython/3.13.7

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Oct 13, 2025.

Transparency log

Release history Release notifications | RSS feed

This release

1.1.24 This release

2 release files

1.1.22

2 release files

1.1.21

2 release files

1.1.20

2 release files

1.1.18

2 release files

1.1.17

2 release files

1.1.16

2 release files

1.1.10

2 release files

1.1.9

2 release files

1.1.8

2 release files

1.1.7

2 release files

1.1.6

2 release files

1.1.5

2 release files

1.1.4

2 release files

1.1.3

2 release files

1.1.2

2 release files

1.1.1

2 release files

1.0.1

2 release files

1.0.0

2 release files

0.3.8

2 release files

0.3.7

2 release files

0.3.6

2 release files

0.3.5

2 release files

0.3.4

2 release files

0.3.3

2 release files

0.3.1

2 release files

0.2

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