Bronto API

Bronto API provides a drop-and-go solution for sending email via Bronto, a popular commercial email provider. This API includes functions that make it easy to add contacts, subscribe them to mailing lists, and send mail to your lists. It also includes a simple template system which lets other modules register their own templates and easily inject variables into the content.

In order to send mail, you will need a companion module which uses the API provided here. An example of such a module is included (bronto_example.module). The example module creates a basic signup form that allows web users to add themselves to your mailing list. It also responds to the creation of a node with type "newsletter" by sending the content of that node to a mailing list called "test_list".

While I do not necessarily recommend using the example module for production purposes, it does contain all the functionality of the API. If you're not handy with PHP you could just change the list name and mail settings and get some use out of it.

In a future release, it will likely be possible to integrate this with Drupal's hook_mail. Functionally the only major difference would be that you could call drupal_mail() instead of brontoapi_mail_from_template().

This module was developed for The New York Observer and currently powers all our mailing list operations. The implementor module that we wrote was too specific to be contrib-worthy, but it formed the basis for bronto_example.module.

Bronto's API uses SOAP, so this module requires that you have the built-in PHP SOAP extension enabled.

Releases

Official releasesDateSizeLinksStatus
6.x-1.02009-Mar-1813.91 KBRecommended for 6.xThis is currently the recommended release for 6.x.


 
 

Drupal is a registered trademark of Dries Buytaert.