Skip to main content

A Django email backend for SMTP servers with NTLM authentication

Project description

# django-smtp-ntlm-backend Django email backend supporting SMTP with NTLM authentication, e.g. for MS Outlook Exchange over SMTP

Mostly copied from - - [piotrbulinski/django-ses-backend]( - [django-ses](

License same as [python-ntlm3](

# Installing

pip install django-smtp-ntlm-backend

and until is closed

pip install git+

and add the settings variables for SMTP as usual, with the username being domain\user

# Testing `bash pew new DJANGO_SMTP_NTLM pip3 install -q Django==1.11 pip3 install -r requirements.txt python3 `

# Usage

In the, use

EMAIL_BACKEND = ‘django_smtp_ntlm_backend.NTLMEmail’ EMAIL_HOST = “” EMAIL_PORT = port # e.g. 587 EMAIL_HOST_USER = “domain\username” EMAIL_HOST_PASSWORD = “password” EMAIL_USE_TLS = False EMAIL_USE_SSL = False DEFAULT_FROM_EMAIL=”Someone <>”

# Publishing to pypi Run `bash pew in DJANGO_SMTP_NTLM make release `

If your username/password for pypi are not in a .pypirc file ([ref](, you will be prompted to type in your credentials.

Project details

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Files for django-smtp-ntlm-backend, version 0.0.4
Filename, size File type Python version Upload date Hashes
Filename, size django_smtp_ntlm_backend-0.0.4-py2.py3-none-any.whl (6.2 kB) File type Wheel Python version py2.py3 Upload date Hashes View
Filename, size django-smtp-ntlm-backend-0.0.4.tar.gz (3.5 kB) File type Source Python version None Upload date Hashes View

Supported by

Pingdom Pingdom Monitoring Google Google Object Storage and Download Analytics Sentry Sentry Error logging AWS AWS Cloud computing DataDog DataDog Monitoring Fastly Fastly CDN DigiCert DigiCert EV certificate StatusPage StatusPage Status page