我正在开发asp.net和mailchimp之间的集成,使用感知性我完成了所有代码,创建了新的活动,添加了订阅者等等。现在我需要一些帮助来在列表之间移动订阅者。我没有在敏锐的文档中找到这个问题,有人能帮我吗?谢谢。
发布于 2014-11-17 20:43:43
首先,我停止使用感知Mailchimp,因为如果你能看到最新的更新是在2011年3月11日.这是很久以前的事了,这意味着不再支持,不再更新,因为2.0版中已经有了Mailchimp。
我开始使用MailChimp.NET (支持MCAPI2.0),其中更新的是4天前.完全不同不是吗?
也就是说,要使用Mailchimp API将订阅服务器移动/复制到新的/不同的列表,如果要从列表中删除用户,可以使用List > Subscribe和List > Unsubscribe。
让我们看看订阅
subscribe(string apikey,
string id, // the list id
struct email, // a struct with one of the following keys (email, euid, leid)
struct merge_vars, // optional merges for the email (FNAME, LNAME, etc.)
string email_type, // optional email type preference for the email (html or text - defaults to html)
bool double_optin, // optional flag to control whether a double opt-in confirmation message is sent, defaults to true
bool update_existing, // optional flag to control whether existing subscribers should be updated instead of throwing an error, defaults to false
bool replace_interests, // optional flag to determine whether we replace the interest groups with the groups provided or we add the provided groups to the member's interest groups (optional, defaults to true)
bool send_welcome) // optional if your double_optin is false and this is true --> this will *not* fire if we end up updating an existing subscriber现在您已经知道了如何在正式的Mail嵌合体中实现它,将其转换到您自己的.NET包装器可能很容易。
只要您将update_existing设置为true,欢迎邮件就永远不会启动,因为您可以从文档中读取,这样您就可以更新订阅者电子邮件并将其移到任何现有列表中。
https://stackoverflow.com/questions/26980878
复制相似问题