Resubscribing via the API

70 views
Skip to first unread message

Jordan Worner

unread,
Nov 30, 2012, 12:22:14 PM11/30/12
to mailchimp-...@googlegroups.com
Hi

I have been creating a link between a website and MailChimp where users will subscribe/unsubscribe through the site via the MailChimp APi. I have just been doing some testing and received this error message: 

"xxxx has unsubscribed, and cannot be resubscribed by you. To prevent false spam complaints, they'll need to resubscribe of their own free will."

I understand the reasoning behind it but the issue is that once a user has unsubscribed there is no way for them to resubscribe even though the user initiated the action (via the site), effectively making subscribe/unsubscribe option on the site useless at that point.

Jordan

jesse

unread,
Nov 30, 2012, 1:45:28 PM11/30/12
to mailchimp-...@googlegroups.com
That's not accurate - either use double optin (the best solution) or don't try to force people back on to the list using listBatchSubscribe.


jesse

Jordan Worner

unread,
Nov 30, 2012, 2:38:39 PM11/30/12
to mailchimp-...@googlegroups.com
I have the double optin set to true. The scenario that is causing this issue is this:

User registers on the website and selects to receive email communication > The site then adds the user to the list via listSubscribe (double opt-in set)
User changes their preferences on the site and selects to not receive email communication > The site then removes the user from the list via listBatchUnsubscribe (nightly cron job)
User then changes their preferences on the site and selects to receive email communication again > The site then updates the user via listBatchSubscribe (nightly cron job and double opt-in set)

The last event is where the issue occurs. Should I instead be using listSubscribe on that last event with users that have previously unsubscribed?

Jordan

jesse

unread,
Dec 3, 2012, 7:41:03 AM12/3/12
to mailchimp-...@googlegroups.com
Yes.


jesse
Reply all
Reply to author
Forward
0 new messages