首页
学习
活动
专区
圈层
工具
发布
社区首页 >问答首页 >使用感知的mcapi在列表之间移动订阅者

使用感知的mcapi在列表之间移动订阅者
EN

Stack Overflow用户
提问于 2014-11-17 19:58:05
回答 1查看 856关注 0票数 1

我正在开发asp.net和mailchimp之间的集成,使用感知性我完成了所有代码,创建了新的活动,添加了订阅者等等。现在我需要一些帮助来在列表之间移动订阅者。我没有在敏锐的文档中找到这个问题,有人能帮我吗?谢谢。

EN

回答 1

Stack Overflow用户

回答已采纳

发布于 2014-11-17 20:43:43

首先,我停止使用感知Mailchimp,因为如果你能看到最新的更新是在2011年3月11日.这是很久以前的事了,这意味着不再支持,不再更新,因为2.0版中已经有了Mailchimp。

我开始使用MailChimp.NET (支持MCAPI2.0),其中更新的是4天前.完全不同不是吗?

也就是说,要使用Mailchimp API将订阅服务器移动/复制到新的/不同的列表,如果要从列表中删除用户,可以使用List > SubscribeList > Unsubscribe

让我们看看订阅

代码语言:javascript
复制
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,欢迎邮件就永远不会启动,因为您可以从文档中读取,这样您就可以更新订阅者电子邮件并将其移到任何现有列表中。

票数 1
EN
页面原文内容由Stack Overflow提供。腾讯云小微IT领域专用引擎提供翻译支持
原文链接:

https://stackoverflow.com/questions/26980878

复制
相关文章

相似问题

领券
问题归档专栏文章快讯文章归档关键词归档开发者手册归档开发者手册 Section 归档