This project is not covered by Drupal’s security advisory policy.

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.

Update: The D7 version is here! Sort of!
A build for D7 and the v4 API is up. It is a -dev release, so with that comes the caveat that you need to test that this is working for your environment before releasing it on the world. Any problems? Meet me in the issue queue!

The D6 version will essentially stay as-is as all effort is going to be put in to the D7, and (eventually) a D8 version.

Project information

Releases