[Cubicweb] [Announce] cubicweb-mandrill 0.2

David Douard david.douard at logilab.fr
Mon May 12 09:38:04 CEST 2014


On 01/05/2014 11:52, Christophe de Vienne wrote:
> Hello everyone,


Hi

> At Unlish we use Mandrill to send our notification emails.
> 
> To do so we developed a cube "mandrill" that provides 2 main features :
> 
> 1. Hijack the existing functions that calls config.sendmails
> 
>     In these functions, a "sendmails" service is called instead of config.sendmails, and this service is provided by the cube.
>     We would like a default SMTP sendmails service to be used and provided by cubicweb, so that the mandrill cube would only have to provide the service and do no more monkeypatching. See https://www.cubicweb.org/ticket/3797393
> 
> 2. 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 allow to send different emails to each recipients.
>     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.
> 
> The source is available at https://bitbucket.org/unlish/cubicweb-mandrill
> 
> Feedback on this cube would be very welcome, and also if Logilab is willing to, an inclusion on the forge.

Cool, a new cube! 
Created a project on the forge:

  https://www.cubicweb.org/project/cubicweb-mandrill

on which you are owner (and have publish permissions).

David

> Cheers,
> 
> Christophe
> 
> 
> _______________________________________________
> Cubicweb mailing list
> Cubicweb at lists.cubicweb.org
> http://lists.cubicweb.org/mailman/listinfo/cubicweb
> 


-- 

David DOUARD		 LOGILAB
Directeur du département Outils & Systèmes

+33 1 45 32 03 12	 david.douard at logilab.fr
+33 1 83 64 25 26	 http://www.logilab.fr/id/david.douard

Formations - http://www.logilab.fr/formations
Développements - http://www.logilab.fr/services
Gestion de connaissances - http://www.cubicweb.org/
-------------- next part --------------
A non-text attachment was scrubbed...
Name: david_douard.vcf
Type: text/x-vcard
Size: 302 bytes
Desc: not available
URL: <http://lists.cubicweb.org/pipermail/cubicweb/attachments/20140512/793b337d/attachment-0189.vcf>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 263 bytes
Desc: OpenPGP digital signature
URL: <http://lists.cubicweb.org/pipermail/cubicweb/attachments/20140512/793b337d/attachment-0189.sig>


More information about the Cubicweb mailing list