Jump to content

Simple mailchimp integration


Ronnie
 Share

Recommended Posts

Hi.

I have been working on a simple mailchimp integration module.

It is probably pretty bad written as I don't fully know my way around the processmanager module creation process yet.

Anyway  this is basically what you need to do.

Create a mailChimp account (free), get the API keys for your account.

Add the API key to the config.inc.php file.

Create a mail friendly template:

Inline CSS with supported CSS tags so dont use floats or position for instance.

Create a "root" page where you Newsletter will reside under.

This case root is called "newsletter" want another name just change in the module. (Line 27)

Install the module.

Some screenshots:

This is the admin section where Lists is being fetched from mailchimp and newsletters is being fetched from under the root page you set up earlier.

Click send and your mail is on the way.

post-1232-0-80331400-1381223869_thumb.jp

Result page.

post-1232-0-21225600-1381224126_thumb.jp

So what have happened now, you have created and sent a new email campaign through mailchimp.

For detailed reports regarding delivery status you need to log on to mailchimp. 

For subscription you can build your own form or use some of the one provided by mailchimp, if you want to skip the "verify subscription" mail you need to create your own subscribe form see example attached. 

ProcessMailChimp.zip

subscribe.php

I am not saying that this is a 100% completed module but it cover my needs and I have seen some questions regarding this kind of functionality roaming the forum.

  • Like 4
Link to comment
Share on other sites

  • 2 weeks later...

Thansk for your help guide step by step. Mailchimp is easy and affordable E-mail marketing tool. Live chat can also be integrated with mailchimp.

Edited by apeisa
No irrelevant product links, please
Link to comment
Share on other sites

  • 1 month later...

Would it be possible to set this up from an RSS feed as well? I want to send an RSS feed with posts matching criteria every day. It works fine with a feed from Blogger but I can't manage it to work from ProcessWire. The integrated RSS module is set up properly and feed readers get it, Mailchimp doesn't....

Link to comment
Share on other sites

  • 2 weeks later...

Tried this but it didn't work for me. I can't select my 'newsletter' from the list and upon send there are several errors:

  • Skickar

  • Till BFD RSS Test

  • Unable to Create New Campaign!

  • Code=311

  • Msg=subject - Please enter a value

  • Unable to Send Campaign!

  • Code=300

  • Msg=Invalid Campaign ID: 429365

Any special type of MailChimp campaign I should make first? I basically want to send out the content of the home page every day.

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
 Share

×
×
  • Create New...