Calling ListBatchSubscribe from C#

Feb 4, 2011 at 9: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 4, 2011 at 11:38 PM

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