Metadata-Version: 2.0
Name: django-smtp-ntlm-backend
Version: 0.0.3
Summary: A Django email backend for SMTP servers with NTLM authentication
Home-page: https://github.com/piotrbulinski/django-smtp-ntlm-backend/
Author: Shadi Akiki
Author-email: shadiakiki1986@gmail.com
License: GNU Lesser GPL
Download-URL: https://github.com/shadiakiki1986/django-smtp-ntlm-backend/archive/master.zip
Platform: Posix
Platform: MacOS X
Platform: Windows
Classifier: Development Status :: 4 - Beta
Classifier: Intended Audience :: Developers
Classifier: License :: OSI Approved :: MIT License
Classifier: Operating System :: OS Independent
Classifier: Programming Language :: Python
Classifier: Programming Language :: Python :: 2.6
Classifier: Programming Language :: Python :: 2.7
Classifier: Programming Language :: Python :: 3.2
Classifier: Programming Language :: Python :: 3.3
Classifier: Programming Language :: Python :: 3.4
Classifier: Topic :: Software Development :: Libraries :: Python Modules
Classifier: Framework :: Django
Requires-Dist: Django (>=1.5)
Requires-Dist: shadiakiki1986-python-ntlm3 (>=1.0.5-dev)

# django-smtp-ntlm-backend
Django email backend supporting SMTP with NTLM authentication

Mostly copied from
- https://www.pythondiary.com/tutorials/django-ntlm-smtp-auth.html
- [piotrbulinski/django-ses-backend](https://github.com/piotrbulinski/django-ses-backend)
- [django-ses](https://github.com/django-ses/django-ses)

License same as [python-ntlm3](https://github.com/trustrachel/python-ntlm3/blob/master/LICENSE.md)

# Installing
`pip install django-smtp-ntlm-backend`

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 runtests.py
```

# 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](http://peterdowns.com/posts/first-time-with-pypi.html)),
you will be prompted to type in your credentials.


