Closed shanebekker closed 10 years ago
As I received no answer to his query I decided to just loop over the results and call the Subscribe function one at a time as a work around
Hi Dan,
While I am sure we are all mostly thankful for your effort at providing this fine Wrapper this issue is not actually closed as all I did was provide my work around but it is not the solution.
A proper solution should only then allow this to be closed, do you not agree?
I've updated the test in my fork, see https://github.com/mdissel/MailChimp.NET/commit/b2a391cf4db81972f7f6b58f731ade272e8fb263
ps. without the replacement of the type object to MergeVar it was also working.
Thanks for your reply I have created one list in mailchimp called kmp Here is an API key do you can see for yourself d84007881f268a83bf7755e984e3f012-us9 It will only be available for the next 24 hrs for obvious reasons
Thanks
-----Original Message----- From: "mdissel" notifications@github.com Sent: 25/09/2014 08:35 To: "danesparza/MailChimp.NET" MailChimp.NET@noreply.github.com Cc: "Shane Bekker" shane.bekker@gmail.com Subject: Re: [MailChimp.NET] Batchsubscribe does not appear to be updatingMailChimp (#112)
I've updated the test in my fork, see mdissel@b2a391c ps. without the replacement of the type object to MergeVar it was also working. — Reply to this email directly or view it on GitHub.=
Please copy the test into your own code and try it out. The main difference is that i'm using a MergeVar class for the field variables and you're only using a dictionary.. I create a pull request to update the type to MergeVar instead of object.
Well the issue will be that my code does not know what the mailchimp fields will be so I cannot create a static class as I do know what the cards will be until I query the list id
-----Original Message----- From: "mdissel" notifications@github.com Sent: 25/09/2014 08:51 To: "danesparza/MailChimp.NET" MailChimp.NET@noreply.github.com Cc: "Shane Bekker" shane.bekker@gmail.com Subject: Re: [MailChimp.NET] Batchsubscribe does not appear to be updatingMailChimp (#112)
Please copy the test into your own code and try it out. The main difference is that i'm using a MergeVar class for the field variables and you're only using a dictionary.. I create a pull request to update the type to MergeVar instead of object. — Reply to this email directly or view it on GitHub.=
Just leave it empty if you don't want to set a field with a specific value. See the MailChimp API documentation for more information.
Hi,
I know I am doing something wrong but can not find out what. I am storing, atm rather rough, subscribers in a database before (clients request) attempting to batch upload them into MailChimp.
I am not clear on how the Mergvars work so I think I have messed that up.
Here is my rough initial code: