Mailchimp API (.Net包装器) - 自动订阅用户

7
我会用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会向用户发送一封电子邮件要求他们确认订阅,网站也是如此,我需要一种自动接受用户订阅的方法。
这种情况是否可能?我们应该如何处理?
1个回答

5
看起来您应该能够将MailChimp的双重确认参数设置为false以停止这些确认邮件。 使用公开暴露它的listSubscribe过载:
  public listSubscribeParms( string id, string email_address,
         Dictionary<string, object> merge_vars, EnumValues.emailType email_type,
         bool double_optin, bool update_existing, bool replace_interests, bool send_welcome )

网页内容由stack overflow 提供, 点击上面的
可以查看英文原文,
原文链接