曼德尔集成立方体
cubicweb-mandrill的Python项目详细描述
Mandrill集成多维数据集
提供两个主要功能:
提供改进的通知视图
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.
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.