Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Its a simple command line sendmail backend for Django
Python
Branch: master

Merge pull request #2 from blueyed/rewrite-on-base

Rewrite / merge with sendmail backend from django-snippets
latest commit 4ad95b0907
@perenecabuto authored
Failed to load latest commit information.
django_sendmail_backend Rewrite
.gitignore First commit
MANIFEST.in adding version and README to setup.py
README.md First commit
setup.py adding version and README to setup.py

README.md

django-sendmail-backend

Its a simple command line sendmail backend for Django

Motivation

I like to use msmtp to abstract the smtp server from my projects. Because it is easy to set environment specifity mail server.

Install

pip install django_sendmail_backend

Usage

Set the EMAIL_BACKEND var in your settings module

EMAIL_BACKEND = 'django_sendmail_backend.backends.EmailBackend'

MTA

You will need any mta installed (like postfix or exim) and a executable sendmail command in your bin path.

Try to install msmtp for test

On Debian/Ubuntu

sudo apt-get install msmtp-mta
Something went wrong with that request. Please try again.