You are here

README.txt in Mailchimp 7.4

This module provides integration with the Mailchimp email delivery service.
While tools for sending email from your own server, like SimpleNews, are great,
they lack the sophistication and ease of use of dedicated email providers like
Mailchimp. Other players in the field are Constant Contact and Campaign Monitor.

The core module provides basic configuration and API integration. Features and
site functionality are provided by a set of submodules that depend upon the core
"mailchimp" module. These are in the "modules" subdirectory: See their
respective README's for more details.


Features
--------------------------------------------------------------------------------

  * API integration
  * Support for an unlimited number of mailing lists
  * Have anonymous sign up forms to subscribe site visitors to any combination
    of Mailchimp lists
  * Mailchimp list subscription via entity fields, allowing subscription rules
    to be governed by entity controls, permissions, and UI
  * Compatibility with Views Bulk Operations
  * Special VBO function for creating & updating static list segments
  * Allow users to subscribe during registration by adding a field to Users
  * Map Entity field values to your Mailchimp merge fields
  * Standalone subscribe and unsubscribe forms
  * Subscriptions can be maintained via cron or in real time
  * Subscription forms can be created as pages or as blocks, with one or more
    list subscriptions on a single form
  * Include merge fields & interest groups on anonymous subscription forms
  * Create & send Mailchimp Campaigns from within Drupal, using Drupal entities
    as content.
  * Display a history of Mailchimp email and subscription activity on a tab for
    any Entity with an email address.


Upgrading from an Earlier Version
--------------------------------------------------------------------------------

The 7.x-2.x and 7.x-3.x branches will become unsupported as Mailchimp phases out
their API version 2.0 by the end of 2016. We recommend upgrading to 7.x-4.x, the
branch that is using Mailchimp's latest API: version 3.0.

Upgrading from 7.x-3.x
--------------------------------------------------------------------------------

  * Replace the Mailchimp module on your web server with the most recent
    7.x-4.x release

  * Follow Installation Notes below

  * Perform a database update
    https://www.drupal.org/upgrade/running-update-php

  * Perform a full cache clear
    https://www.drupal.org/documentation/clearing-rebuilding-cache

Upgrading from 7.x-2.x
--------------------------------------------------------------------------------

  * Uninstall the Mailchimp module

  * Replace the Mailchimp module on your web server with the most recent
      7.x-4.x release

  * Follow Installation Notes below

  * Perform a full cache clear
    https://www.drupal.org/documentation/clearing-rebuilding-cache

Please note: The major structural change between 7.x-2.x and 7.x-4.x is the
"Lists and Users" tab has been separated into three tabs "Fields", "Lists" and
"SignUp Forms". You will find most of the user related configuration by creating
a Mailchimp field on the user account, here: admin/config/people/accounts/fields

For more information, please visit the FAQ (https://www.drupal.org/node/2793241)


Installation Notes
--------------------------------------------------------------------------------

  * You need to have a Mailchimp API Key.
  * You need to have at least one list created in Mailchimp to use the
    mailchimp_lists module.
  * If you use a drush make workflow, see the example drush makefile:
    mailchimp.make.example.
  * The Mailchimp PHP library must exist in your Drupal installation.

Mailchimp Library Installation
--------------------------------------------------------------------------------

    # For Mailchimp version 7.x-4.x

    To use the Libraries module:

      - Install the Libraries module:
        https://www.drupal.org/project/libraries

      - Download the current release of the Mailchimp library:
        https://github.com/thinkshout/mailchimp-api-php/files/1361112/v1.0.8-package.zip

      - Locate your libraries directory. Usually:
        /sites/all/libraries/

      - Extract the archive to:
        libraries/mailchimp

      - Ensure the directory structure looks like this:

        - libraries/
          - mailchimp/
            - src/
              - Mailchimp.php
              - MailchimpAPIException.php
              - MailchimpCampaigns.php
              - MailchimpLists.php
              - MailchimpReports.php
              - MailchimpTemplates.php
            - vendor/
              - autoload.php
              - composer/
              - guzzlehttp/
              - psr/
            - composer.json
            - README.md

    To use Composer Manager:

      - Download Composer if you don't already have it installed:
        https://getcomposer.org/download/

      - Download and install the Composer Manager module:
        https://www.drupal.org/project/composer_manager

      - Install Drush on your system if you haven't already:
        http://www.drush.org/en/master/

      - Run Composer manager with Drush within your Drupal installation:
        drush composer-manager update --no-dev


    # For Mailchimp version 7.x-2.x and 7.x-3.x:

      - Download version 2.0.6 of the v2 API library:
        https://bitbucket.org/mailchimp/mailchimp-api-php/downloads

      - Extract the library archive to libraries/mailchimp

      - Ensure the directory structure looks like this:

        - libraries/
          - mailchimp/
            - docs/
            - src/
              - Mailchimp.php
              - Mailchimp/
            - README.md
            - composer.json


Configuration
--------------------------------------------------------------------------------

  1. Direct your browser to admin/config/services/mailchimp to configure the
  module.

  2. You will need to put in your Mailchimp API key for your Mailchimp account.
  If you do not have a Mailchimp account, go to
  [http://www.mailchimp.com]([http://www.mailchimp.com) and sign up for a new
  account. Once you have set up your account and are logged in, visit:
  Account Settings -> Extras -> API Keys to generate a key.

  3. Copy your newly created API key and go to the
  [Mailchimp config](http://example.com/admin/config/services/mailchimp) page in
  your Drupal site and paste it into the Mailchimp API Key field.

  4. Batch limit - Maximum number of changes to process in a single cron run.
  Mailchimp suggest keeping this below 10000.


Submodules
--------------------------------------------------------------------------------

  * mailchimp_signup: Create anonymous signup forms for your Mailchimp Lists,
    and display them as blocks or as standalone pages. Provide multiple-list
    subscription from a single form, include merge variables as desired, and
    optionally include Interest Group selection.

  * mailchimp_lists: Subscribe any entity with an email address to Mailchimp
    lists by creating a mailchimp_list field, and allow anyone who can edit such
    an entity to subscribe, unsubscribe, and update member information. Also
    allows other entity fields to be synced to Mailchimp list Merge Fields. Add
    a Mailchimp Subscription field to your User bundle to allow Users to control
    their own subscriptions and subscribe during registration.

  * mailchimp_campaigns: Create and send campaigns directly from Drupal, or just
    create them and use the Mailchimp UI to send them. Embed content from your
    Drupal site by dropping in any Entity with a title and a View Mode
    configured into any area of your email template.

  * mailchimp_activity: Display a tab on any entity with an email address
    showing the email, subscribe, and unsubscribe history for that email address
    on your Mailchimp account.


Related Modules
--------------------------------------------------------------------------------

Mandrill

  * Mandrill is Mailchimp's transactional email service. The module provides the
    ability to send all site emails through Mandrill with reporting available
    from within Drupal. Please refer to the project page for more details.
  * http://drupal.org/project/mandrill

MCC, an alternative campaign creation tool.

  * http://drupal.org/project/mcc

File

README.txt
View source
  1. This module provides integration with the Mailchimp email delivery service.
  2. While tools for sending email from your own server, like SimpleNews, are great,
  3. they lack the sophistication and ease of use of dedicated email providers like
  4. Mailchimp. Other players in the field are Constant Contact and Campaign Monitor.
  5. The core module provides basic configuration and API integration. Features and
  6. site functionality are provided by a set of submodules that depend upon the core
  7. "mailchimp" module. These are in the "modules" subdirectory: See their
  8. respective README's for more details.
  9. Features
  10. --------------------------------------------------------------------------------
  11. * API integration
  12. * Support for an unlimited number of mailing lists
  13. * Have anonymous sign up forms to subscribe site visitors to any combination
  14. of Mailchimp lists
  15. * Mailchimp list subscription via entity fields, allowing subscription rules
  16. to be governed by entity controls, permissions, and UI
  17. * Compatibility with Views Bulk Operations
  18. * Special VBO function for creating & updating static list segments
  19. * Allow users to subscribe during registration by adding a field to Users
  20. * Map Entity field values to your Mailchimp merge fields
  21. * Standalone subscribe and unsubscribe forms
  22. * Subscriptions can be maintained via cron or in real time
  23. * Subscription forms can be created as pages or as blocks, with one or more
  24. list subscriptions on a single form
  25. * Include merge fields & interest groups on anonymous subscription forms
  26. * Create & send Mailchimp Campaigns from within Drupal, using Drupal entities
  27. as content.
  28. * Display a history of Mailchimp email and subscription activity on a tab for
  29. any Entity with an email address.
  30. Upgrading from an Earlier Version
  31. --------------------------------------------------------------------------------
  32. The 7.x-2.x and 7.x-3.x branches will become unsupported as Mailchimp phases out
  33. their API version 2.0 by the end of 2016. We recommend upgrading to 7.x-4.x, the
  34. branch that is using Mailchimp's latest API: version 3.0.
  35. Upgrading from 7.x-3.x
  36. --------------------------------------------------------------------------------
  37. * Replace the Mailchimp module on your web server with the most recent
  38. 7.x-4.x release
  39. * Follow Installation Notes below
  40. * Perform a database update
  41. https://www.drupal.org/upgrade/running-update-php
  42. * Perform a full cache clear
  43. https://www.drupal.org/documentation/clearing-rebuilding-cache
  44. Upgrading from 7.x-2.x
  45. --------------------------------------------------------------------------------
  46. * Uninstall the Mailchimp module
  47. * Replace the Mailchimp module on your web server with the most recent
  48. 7.x-4.x release
  49. * Follow Installation Notes below
  50. * Perform a full cache clear
  51. https://www.drupal.org/documentation/clearing-rebuilding-cache
  52. Please note: The major structural change between 7.x-2.x and 7.x-4.x is the
  53. "Lists and Users" tab has been separated into three tabs "Fields", "Lists" and
  54. "SignUp Forms". You will find most of the user related configuration by creating
  55. a Mailchimp field on the user account, here: admin/config/people/accounts/fields
  56. For more information, please visit the FAQ (https://www.drupal.org/node/2793241)
  57. Installation Notes
  58. --------------------------------------------------------------------------------
  59. * You need to have a Mailchimp API Key.
  60. * You need to have at least one list created in Mailchimp to use the
  61. mailchimp_lists module.
  62. * If you use a drush make workflow, see the example drush makefile:
  63. mailchimp.make.example.
  64. * The Mailchimp PHP library must exist in your Drupal installation.
  65. Mailchimp Library Installation
  66. --------------------------------------------------------------------------------
  67. # For Mailchimp version 7.x-4.x
  68. To use the Libraries module:
  69. - Install the Libraries module:
  70. https://www.drupal.org/project/libraries
  71. - Download the current release of the Mailchimp library:
  72. https://github.com/thinkshout/mailchimp-api-php/files/1361112/v1.0.8-package.zip
  73. - Locate your libraries directory. Usually:
  74. /sites/all/libraries/
  75. - Extract the archive to:
  76. libraries/mailchimp
  77. - Ensure the directory structure looks like this:
  78. - libraries/
  79. - mailchimp/
  80. - src/
  81. - Mailchimp.php
  82. - MailchimpAPIException.php
  83. - MailchimpCampaigns.php
  84. - MailchimpLists.php
  85. - MailchimpReports.php
  86. - MailchimpTemplates.php
  87. - vendor/
  88. - autoload.php
  89. - composer/
  90. - guzzlehttp/
  91. - psr/
  92. - composer.json
  93. - README.md
  94. To use Composer Manager:
  95. - Download Composer if you don't already have it installed:
  96. https://getcomposer.org/download/
  97. - Download and install the Composer Manager module:
  98. https://www.drupal.org/project/composer_manager
  99. - Install Drush on your system if you haven't already:
  100. http://www.drush.org/en/master/
  101. - Run Composer manager with Drush within your Drupal installation:
  102. drush composer-manager update --no-dev
  103. # For Mailchimp version 7.x-2.x and 7.x-3.x:
  104. - Download version 2.0.6 of the v2 API library:
  105. https://bitbucket.org/mailchimp/mailchimp-api-php/downloads
  106. - Extract the library archive to libraries/mailchimp
  107. - Ensure the directory structure looks like this:
  108. - libraries/
  109. - mailchimp/
  110. - docs/
  111. - src/
  112. - Mailchimp.php
  113. - Mailchimp/
  114. - README.md
  115. - composer.json
  116. Configuration
  117. --------------------------------------------------------------------------------
  118. 1. Direct your browser to admin/config/services/mailchimp to configure the
  119. module.
  120. 2. You will need to put in your Mailchimp API key for your Mailchimp account.
  121. If you do not have a Mailchimp account, go to
  122. [http://www.mailchimp.com]([http://www.mailchimp.com) and sign up for a new
  123. account. Once you have set up your account and are logged in, visit:
  124. Account Settings -> Extras -> API Keys to generate a key.
  125. 3. Copy your newly created API key and go to the
  126. [Mailchimp config](http://example.com/admin/config/services/mailchimp) page in
  127. your Drupal site and paste it into the Mailchimp API Key field.
  128. 4. Batch limit - Maximum number of changes to process in a single cron run.
  129. Mailchimp suggest keeping this below 10000.
  130. Submodules
  131. --------------------------------------------------------------------------------
  132. * mailchimp_signup: Create anonymous signup forms for your Mailchimp Lists,
  133. and display them as blocks or as standalone pages. Provide multiple-list
  134. subscription from a single form, include merge variables as desired, and
  135. optionally include Interest Group selection.
  136. * mailchimp_lists: Subscribe any entity with an email address to Mailchimp
  137. lists by creating a mailchimp_list field, and allow anyone who can edit such
  138. an entity to subscribe, unsubscribe, and update member information. Also
  139. allows other entity fields to be synced to Mailchimp list Merge Fields. Add
  140. a Mailchimp Subscription field to your User bundle to allow Users to control
  141. their own subscriptions and subscribe during registration.
  142. * mailchimp_campaigns: Create and send campaigns directly from Drupal, or just
  143. create them and use the Mailchimp UI to send them. Embed content from your
  144. Drupal site by dropping in any Entity with a title and a View Mode
  145. configured into any area of your email template.
  146. * mailchimp_activity: Display a tab on any entity with an email address
  147. showing the email, subscribe, and unsubscribe history for that email address
  148. on your Mailchimp account.
  149. Related Modules
  150. --------------------------------------------------------------------------------
  151. Mandrill
  152. * Mandrill is Mailchimp's transactional email service. The module provides the
  153. ability to send all site emails through Mandrill with reporting available
  154. from within Drupal. Please refer to the project page for more details.
  155. * http://drupal.org/project/mandrill
  156. MCC, an alternative campaign creation tool.
  157. * http://drupal.org/project/mcc