Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

django-outlook-email-backend

Package Overview
Dependencies
Maintainers
1
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

django-outlook-email-backend

Ouauth2 outlook email backend for Django

  • 1.1.18
  • PyPI
  • Socket score

Maintainers
1

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"

FAQs


Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc