Problems with Re-subcriptions

May 17, 2013 at 2:59 PM
Is there a way to keep those who have unsubscribed from being subscribed again in this wrapper?

I'm using ListSubscribe() with DoubleOptIn = False. In the MailChimp API this setting keeps unsubscribes from being subscribed again. However, in testing of my program with this wrapper when I unsubscribe someone and then run ListSubscribe() with them in the group they are re-subscribed. I'm updating MailChimp from databases and would like to keep the check of unsubscriptions in MailChimp.

Thanks for your input!
May 17, 2013 at 3:28 PM
The meaning of double_optin is somewhat different:

http://kb.mailchimp.com/article/how-does-confirmed-optin-or-double-optin-work


If you want to prevent re-subs, use listMemberInfo to check status of a specific email.
May 17, 2013 at 4:06 PM
Thanks for the clarification, following your suggestion I'm checking the value of success in listMemberInfo(). It's returning a 1 for subscribes and unsubscribes and a 0 for new emails. I'm attempting to update subscribes and new emails though, so this doesn't seem helpful. What am I missing?
May 17, 2013 at 4:56 PM
Check data field. It gives you some additional information:

http://apidocs.mailchimp.com/api/1.3/listmemberinfo.func.php