Skip to content

aschulak/mailgun-python-appengine

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 
 
 
 
 

Repository files navigation

mailgun-python-appengine

mailgun-python-appengine is a python appengine client for Mailgun. Mailgun is a set of powerful APIs that allow you to send, receive, track and store email effortlessly.

This client only does send at the moment. Feel free to add extra goodness.

Usage

import mailgun

url = '<your mailgun url>'
api_key = '<your mailgun api key>'
mailgun_client = mailgun.Mailgun(url, api_key, deadline=optional_urlfetch_deadline_in_seconds)
result = mailgun_client.send_mail(sender, to, subject, body, html=optional_html_body, campaign='optional_campaign_code')
if result.status_code == 200:
	# hooray!
	pass
else:
	# boo
	pass

About

Light Python App Engine client for sending email through Mailgun

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published