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.
/**
* Subscribe a user to a MailChimp list in real time or by adding to the queue.
*
* @see Mailchimp_Lists::subscribe()
*/
function mailchimp_subscribe($list_id, $email, $merge_vars = NULL, $interests = array(), $double_optin = FALSE, $format = 'html') {
...
/**
* Unsubscribes a member from a MailChimp list.
*
* @see Mailchimp_Lists::unsubscribe()
*/
function mailchimp_unsubscribe($list_id, $email, $delete = FALSE, $goodbye = FALSE, $notify = FALSE) {
However, the MailchimpLists class in the Mailchimp API has no such methods.
Comments