1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41
|
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).
``` python
from pymailgunner import Client
mailgun_client = Client({api_key}, {domain_name})
```
Or, for domains in the EU Region,
``` python
from pymailgunner import Client
mailgun_client = Client({api_key}, {domain_name}, eu_domain=True)
```
Features
========
To send an email
``` python
mailgun_client.send_mail(...) #see send_mail docstring
```
|