PHP

Mailchimp integration in php

Mailchimp integration in php

Mailchimp are mainly used to maintain subscribers list and send newsletters via mailchimp API to subscribers. Mailchimp features available for various languages/platforms.

Mailchimp supporting languages.

  1. .NET
  2. PHP
  3. Actionscript
  4. GRails
  5. Java
  6. Lasso
  7. node.js
  8. Objective-C
  9. Perl
  10. Python
  11. Ruby on Rails

Check Mailchimp API docs HERE.

In this article we can see easy and simple integration for mailchimp using php.

Please follow below steps:

STEP 1 :

Login in to http://mailchimp.com/ with youe mailchimp credentials.

STEP 2:

Click List in the TOP menu. It will redirect you to the list page which is created by you. Here you can see the lists which is created by you.

Step2

STEP 3:

Click Down arrow which is right side of your list name associated row. (Near status button)

Step3

Step 4 :

Click Signup Forms



Step 5:

You can see list of singup forms options, Click Embedded Forms.

Step5

Step 6:

It will take you to the form embed code page.

Here in the left side you can see the form options, Right side it will show the form layout and embed code.

Choose how the form you like and copy the code which is the text area below of ” Copy/paste onto your site ” line.

Step7

Step 7:

Paste the copied code in your page where ever you need and run the page. Now you are ready to play with mailchimp newsletter subscriber form.

*Note if you do not want predefined CSS remove below lines from your copied code.

Sample Code:

 Example => 2

How to make custom script for mailchimp Integration:

 

Thanks!. IF you like this article don’t forget to share and comment!.