Skip to main content

Adds Mandrill support to Flask applications

Project description

A Flask Extension to remove some of the boiler plate encountered when sending emails with Mandrill

Installation

$ pip install flask-mandrill

Usage

from flask import Flask
from flask.ext.mandrill import Mandrill

app = Flask(__name__)
app.config['MANDRILL_API_KEY'] = 'your api key'
mandrill = Mandrill(app)
mandrill.send_email(
    from_email='someone@yourdomain.com',
    to=[{'email': 'someoneelse@someotherdomain.com'}],
    text='Hello World'
)

Release History

0.2 (2015-01-15)

  • Adds support for sending template emails.

0.1.1 (2013-10-25)

  • Added config option MANDRILL_DEFAULT_FROM.

0.1.0 (2012-10-25)

  • First release.

Project details


Download files

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

Files for Flask-Mandrill, version 0.3
Filename, size File type Python version Upload date Hashes
Filename, size Flask-Mandrill-0.3.tar.gz (2.7 kB) File type Source Python version None Upload date Hashes View hashes

Supported by

Elastic Elastic Search Pingdom Pingdom Monitoring Google Google BigQuery Sentry Sentry Error logging AWS AWS Cloud computing DataDog DataDog Monitoring Fastly Fastly CDN DigiCert DigiCert EV certificate StatusPage StatusPage Status page