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.
Source Distribution
Flask-Mandrill-0.3.tar.gz
(2.7 kB
view details)
File details
Details for the file Flask-Mandrill-0.3.tar.gz
.
File metadata
- Download URL: Flask-Mandrill-0.3.tar.gz
- Upload date:
- Size: 2.7 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | ed17f8d25c54ff83af6696ba7139619ae40bed85ca844f979786f884cdedefda |
|
MD5 | b7b2bf2fb75c682a6869b9ac0637618f |
|
BLAKE2b-256 | e3e5f4151d461d6858698adfc73529e0a3764d7af63853265a9fb19d0aadfd2c |