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
| Comment | File | Size | Author |
|---|---|---|---|
| mailchimp_sts.tar_.gz | 1.07 KB | andrew m riley |
Comments
Comment #1
andrew m riley commentedMC announcement about the service http://blog.mailchimp.com/mailchimp-launches-transactional-email-service...
Comment #2
Chad_Dupuis commentedsubscribe
Comment #3
philltran commentedThis is great. Thanks Andrew.
Comment #4
seanberto commentedFYI, 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
Comment #5
andrew m riley commentedIt 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.
Comment #6
bufa06 commentedI ll be interested by the D6 STS code, did you create a project to house this code ?
Comment #7
nrackleff commented“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!”