MailChimp now allows for sending of transactional messages (on top of Amazon SES). I'm attaching code that replaces the drupal_mail_wraper/smtp_library to allow all drupal mails to be sent through MailChimp STS.

A few notes:

  • It uses the main MailChimp module keys for it's sending
  • The HTML based mail sending could use some review/help
  • If you've never used the STS service please make sure you go through and set that up properly on the MC site
CommentFileSizeAuthor
mailchimp_sts.tar_.gz1.07 KBAndrew M Riley
Support from Acquia helps fund testing for Drupal Acquia logo

Comments

Andrew M Riley’s picture

Chad_Dupuis’s picture

subscribe

philltran’s picture

This is great. Thanks Andrew.

seanberto’s picture

FYI, this is a key feature slated for the 7.x-2.x branch. We will be rolling it out there within the next two modules now that we have an alpha release for 7.x-1.x.

At this point, our plan was to keep all new feature development in D7, with maintenance releases only for D6. In which case, it might make sense for this D6 work to stay in a separate contrib. For D7, we have pretty tight STS integration plans, so we'd love to keep the work more integrated in the main module.

What are your thoughts, Andrew? Thanks so much for making this contribution! We're excited to explore STS-Drupal integration with you!! It's hot, and I think that we can do some pretty incredible things with it in D7.

-s

Andrew M Riley’s picture

It sounds like a plan. I'll create a project to house the D6 STS code for people that need to use it and still preserve the maint 6-x branch of this module.

bufa06’s picture

Component: Code » General

I ll be interested by the D6 STS code, did you create a project to house this code ?

nrackleff’s picture

Issue summary: View changes
Status: Needs review » Closed (won't fix)

“And now our watch [for support of the 6.x version of the MailChimp module] has ended…” With the end of Drupal 6 support, I’m sad to say we too must turn the page.

Fret not! The 7.x-4.x and 8.x versions come highly recommended. Both are using Mailchimp’s new API 3.0 and are being actively maintained. “What is dead may never die, but rises again, harder and stronger!”