Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Resubscribe a user to a MailChimp list after unsubscribe

My site allows users to subscribe to MailChimp lists using the API via Drupal MailChimp module. But if a user unsubscribes by following the link in the email, and subsequently decides to re-subscribe by visiting my website and checking the "subscribe" box, MailChimp responds with

[email protected] is in a compliance state due to unsubscribe, bounce, or compliance review and cannot be subscribed.

What is the solution assuming the user really wants to re-subscribe?

like image 424
Hugh Wormington Avatar asked Feb 10 '17 12:02

Hugh Wormington


People also ask

What happens when you unsubscribe from Mailchimp?

For security reasons, when someone unsubscribes from your email marketing, Mailchimp automatically hides their full email address in the unsubscribe confirmation page and URL.

How do I reconfirm subscribers on Mailchimp?

Send a reconfirmation message Here's how you could do this. Copy the subscribed addresses from your exported CSV file into the BCC field. Craft a message that asks recipients to confirm their interest and resubscribe to your marketing email. Include a link to your Mailchimp signup form in the body of the email.

What happens if you email someone who has unsubscribed?

If a contact has unsubscribed from all communications with you, you could get into legal trouble for sending further promotional content via email, no matter how brief or compelling your content is. Many email marketing platforms (Hatchbuck included) won't allow you to send further emails to unsubscribed contacts.


1 Answers

If we need to resubscribe an email which has been unsubscribed,

We need to make a put call with either of the following options:

  1. {"status" : "subscribed"} Will resubscribe the email
  2. {"status" : "pending"} Will send a confirmation email for resubscription.

The API endpoint must consist of md5 hash like(/lists/list_id/members/md5hash)

like image 124
TheViralGriffin Avatar answered Sep 21 '22 17:09

TheViralGriffin