Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
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 CreditAttribution: Andrew M Riley commentedMC announcement about the service http://blog.mailchimp.com/mailchimp-launches-transactional-email-service...
Comment #2
Chad_Dupuis CreditAttribution: Chad_Dupuis commentedsubscribe
Comment #3
philltran CreditAttribution: philltran commentedThis is great. Thanks Andrew.
Comment #4
seanberto CreditAttribution: 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 CreditAttribution: 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 CreditAttribution: bufa06 commentedI ll be interested by the D6 STS code, did you create a project to house this code ?
Comment #7
nrackleff CreditAttribution: 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!”