Mailchimp API(.Net Wrapper)-自动订阅用户
我正在使用 MailChimp API 将用户订阅到我的列表(注册表单上有一个选择退出),我正在使用 PerceptiveMCAPI 包装器来处理此问题。
用户注册后,
var ListId = "{LISTID}";
var a = new listSubscribe(new listSubscribeInput(ListId, model.Email, new Dictionary<string, object>()));
if(a.Execute().result)
{
//Do Stuff
}
我需要一种自动确认订阅的方法(因为该网站有自己的验证方法)。目前 MailChimp 向用户发送一封电子邮件,要求他们确认订阅,网站也是如此,我需要一种方法来自动接受用户的订阅。
这可能吗?我们该如何去做呢?
I'm using the MailChimp API to subscribe users to my list (There is an opt out on the reg form) I'm using the PerceptiveMCAPI wrapper to handle this.
Once the user has registered,
var ListId = "{LISTID}";
var a = new listSubscribe(new listSubscribeInput(ListId, model.Email, new Dictionary<string, object>()));
if(a.Execute().result)
{
//Do Stuff
}
I need a way to auto confirm the subscription (Since the site has it's own validation methods). At the moment MailChimp sends the user an email asking them to confirm there subscription and so does the website, I need a way to auto accept the subscription for the user.
Is this possible? And how do we go about it?
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
看起来您应该能够将参数中的 MailChimp 双选项设置为 false 以停止这些确认。
使用 listSubscribe 重载来公开它:
It looks like you should be able to set the MailChimp double opt in param to false to stop these confirms.
Use the listSubscribe overload which exposes it: