Skip to main content

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)

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


Download files

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

Source Distribution

django-mailgun-provider-0.2.3.tar.gz (3.3 kB view details)

Uploaded Source

File details

Details for the file django-mailgun-provider-0.2.3.tar.gz.

File metadata

File hashes

Hashes for django-mailgun-provider-0.2.3.tar.gz
Algorithm Hash digest
SHA256 e668c81b8dc4cf523632a95afc761569b2f69a5d9c8dd62fc5e773b23cad0c4c
MD5 541807404ea6232c5861b2c21ba2e705
BLAKE2b-256 ae66ebedb0535e21432e3d2d4aca6ce8061c71e3068c43966d11d83859d5e0f4

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page