Mandrill Integration cube
Project description
Mandrill Integration cube
provides 2 main features :
Hijack the existing functions that call config.sendmails
In these functions, a “sendmails” service is called instead of config.sendmails, this service being provided by the mandrill cube.
https://www.cubicweb.org/ticket/3797393 proposes to replace config.sendmails by a service in the core.
Provide an improved NotificationView
Mandrill provides a template api : https://mandrillapp.com/api/docs/messages.python.html#method=send-template
The MandrillNotificationViewMixin makes use of it and allows to send different emails to each recipient.
Beside using the send-template api of mandrill, it gives more control to the developer on the sender, and the merge variables for each recipient.
Since it is a Mixin class, it can be mixed in an existing notification to make it instantly usable with a mandrill template.
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
File details
Details for the file cubicweb-mandrill-0.4.0.tar.gz
.
File metadata
- Download URL: cubicweb-mandrill-0.4.0.tar.gz
- Upload date:
- Size: 10.1 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 287835b94947e7cbc12fbf1c91e8432613e27a557caa3df428c9ae014656f9ab |
|
MD5 | 848dde9a38c951520d05258f92e95793 |
|
BLAKE2b-256 | 6a6c31e71eda66829025e9754f052848cc75a4cddcaf804992b0a2aa2df02ddd |