pymailgunner

A simple mailgun client - pymailgun fork with Python 3 support


Keywords
api, mail, mailgun, python
License
Apache-2.0
Install
pip install pymailgunner==1.5

Documentation

pymailgunner

A simple mailgun client

Installation

pip install pymailgunner

Usage

To create a mailgun Client you will need a mailgun api key and the domain name to use (must match the domain name registered on the mailgun website).

from pymailgunner import Client

mailgun_client = Client({api_key}, {domain_name})

Or, for domains in the EU Region,

from pymailgunner import Client

mailgun_client = Client({api_key}, {domain_name}, eu_domain=True)

Features

To send an email

mailgun_client.send_mail(...) #see send_mail docstring