Skip to main content
Join the official 2019 Python Developers SurveyStart the survey!

A Django email backend for Mailgun

Project description

==========
Django-Mailgun
==========
:Info: A Django email backend for use with Mailgun
:Author: Bradley Whittington (http://github.com/bradwhittington, http://twitter.com/darb)
:Release Manager: Daniel Roy Greenfeld

This README is derived from https://github.com/hmarr/django-ses/blob/master/README.rst

Overview
=================
Django-Mailgun is a drop-in mail backend for Django_,
per http://docs.djangoproject.com/en/dev/topics/email/#e-mail-backends

Getting going
=============

Install django-mailgun::

pip install django-mailgun

Add the following to your settings.py::

EMAIL_BACKEND = 'django_mailgun.MailgunBackend'
MAILGUN_ACCESS_KEY = 'ACCESS-KEY'
MAILGUN_SERVER_NAME = 'SERVER-NAME'

Now, when you use ``django.core.mail.send_mail``, Mailgun will send the messages

.. _Builtin Email Error Reporting: http://docs.djangoproject.com/en/1.2/howto/error-reporting/
.. _Django: http://djangoproject.com
.. _Mailgun: http://mailgun.net

Project details


Release history Release notifications

Download files

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

Files for django-mailgun-redux, version 0.3.0
Filename, size File type Python version Upload date Hashes
Filename, size django_mailgun_redux-0.3.0-py2.py3-none-any.whl (4.4 kB) File type Wheel Python version 2.7 Upload date Hashes View hashes
Filename, size django-mailgun-redux-0.3.0.tar.gz (3.6 kB) File type Source Python version None Upload date Hashes View hashes

Supported by

Elastic Elastic Search Pingdom Pingdom Monitoring Google Google BigQuery Sentry Sentry Error logging AWS AWS Cloud computing DataDog DataDog Monitoring Fastly Fastly CDN SignalFx SignalFx Supporter DigiCert DigiCert EV certificate StatusPage StatusPage Status page