CiviCRM Community Forums (archive)

*

News:

Have a question about CiviCRM?
Get it answered quickly at the new
CiviCRM Stack Exchange Q+A site

This forum was archived on 25 November 2017. Learn more.
How to get involved.
What to do if you think you've found a bug.



  • CiviCRM Community Forums (archive) »
  • Old sections (read-only, deprecated) »
  • Support »
  • Using CiviCRM »
  • Using CiviMail (Moderator: Piotr Szotkowski) »
  • Using the mailing infrastructure from a drupal module
Pages: [1]

Author Topic: Using the mailing infrastructure from a drupal module  (Read 515 times)

sdague

  • I’m new here
  • *
  • Posts: 17
  • Karma: 0
  • CiviCRM version: 4.1
  • CMS version: Drupal 6
  • MySQL version: 5.1.58
  • PHP version: 5.3
Using the mailing infrastructure from a drupal module
March 15, 2012, 05:55:56 am
I'm at the early stages of civicrm rollout for a non-profit I volunteer for. One of the lingering questions I've got is about tapping into the CiviMail infrastructure from external modules. The reason being, we're using epublish to generate out newsletters, and eventually we'll want to use the groups in CiviCRM as the distribution list for this (instead of the existing mailman list).

I'm happy to sling code here, but I'm unsure where to hook in. The API interfaces around CiviMail seem to be mostly about events after mails were sent, not actually the sending of mail through the infrastructure itself. In an ideal world I'd want an interface where I could hand over the core content, subject, and a group or smart group to send to, and the template and bounce tracking would come from CiviMail.

Any directions, hints, or suggestions welcomed. The resultant code will all go out as a drupal module on drupal.org for anyone else to use.

Donald Lobo

  • Administrator
  • I’m (like) Lobo ;)
  • *****
  • Posts: 15963
  • Karma: 470
    • CiviCRM site
  • CiviCRM version: 4.2+
  • CMS version: Drupal 7, Joomla 2.5+
  • MySQL version: 5.5.x
  • PHP version: 5.4.x
Re: Using the mailing infrastructure from a drupal module
March 15, 2012, 07:10:27 am

There has been talk for some time about creating a "civi-mailing api". This might be a good opportunity to do so :)

Ping us on IRC if you need help getting started.

The big issue would be, are orgs fine with sending a mailing, without doing a test?

lobo
A new CiviCRM Q&A resource needs YOUR help to get started. Visit our StackExchange proposed site, sign up and vote on 5 questions

Pages: [1]
  • CiviCRM Community Forums (archive) »
  • Old sections (read-only, deprecated) »
  • Support »
  • Using CiviCRM »
  • Using CiviMail (Moderator: Piotr Szotkowski) »
  • Using the mailing infrastructure from a drupal module

This forum was archived on 2017-11-26.