Calling ListBatchSubscribe from C#

Feb 4, 2011 at 10:27 PM

I'm trying to call ListBatchSubscribe from C#. The method takes an IEnumerable<List.Merges>. The MailChimp API expects an array of { Email, Email_Type }. Given a bunch of emails (and wanting "html" as type), how do I generata the correct IEnumerable<List.Merges>?

Feb 5, 2011 at 12:38 AM

Figured it out, List.Merges is a dictionary that I should pass for each subscriber setting "EMAIL" and "EMAIL_TYPE"