Skip to content

cogniteev/pymailgun

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

17 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

pymailgun

A simple mailgun client

Installation

pip install pymailgun

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 pymailgun import Client

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

Features

To send an email

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