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.
Release files for cubicweb-mandrill 0.4.0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| cubicweb-mandrill-0.4.0.tar.gz | 10.1 kB | Details |
Release files / cubicweb-mandrill-0.4.0.tar.gz
| Download URL | cubicweb-mandrill-0.4.0.tar.gz |
|---|---|
| Size | 10.1 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
287835b94947e7cbc12fbf1c91e8432613e27a557caa3df428c9ae014656f9ab
|
|
BLAKE2b-256 checksum How to use checksums |
6a6c31e71eda66829025e9754f052848cc75a4cddcaf804992b0a2aa2df02ddd
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |