MailChimp.NET icon indicating copy to clipboard operation
MailChimp.NET copied to clipboard

How to add automatically an email to a group?

Open sfvaleriano opened this issue 11 years ago • 1 comments

How to add automatically an email to a group? I've tryed with MergeVars

var group = new Grouping() {
Name = "Male", GroupNames=new List(){"Gender"} };

var merge_var = new CustomMergeVars { ... Groupings = new List<Grouping>() { group } };

but i get this error

"0" is not a valid Interest Grouping id for the list: "list_name"

Thanks

sfvaleriano avatar Feb 23 '14 10:02 sfvaleriano

Hi, did you ever find the way to get the id?

dorofino avatar Jul 11 '15 22:07 dorofino