Skip to main content
This is a pre-production deployment of Warehouse. Changes made here affect the production instance of PyPI (pypi.python.org).
Help us improve Python packaging - Donate today!

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.
Release History

Release History

This version
History Node

0.3

History Node

0.2

History Node

0.1.1

History Node

0.1

Download Files

Download Files

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

File Name & Checksum SHA256 Checksum Help Version File Type Upload Date
Flask-Mandrill-0.3.tar.gz (2.7 kB) Copy SHA256 Checksum SHA256 Source Jun 30, 2016

Supported By

WebFaction WebFaction Technical Writing Elastic Elastic Search Pingdom Pingdom Monitoring Dyn Dyn DNS Sentry Sentry Error Logging CloudAMQP CloudAMQP RabbitMQ Heroku Heroku PaaS Kabu Creative Kabu Creative UX & Design Fastly Fastly CDN DigiCert DigiCert EV Certificate Rackspace Rackspace Cloud Servers DreamHost DreamHost Log Hosting