我使用reg API为我的列表订阅用户(在MailChimp表单上有一个退出选项),我使用PerceptiveMCAPI包装器来处理这个问题。
一旦用户已经注册,
var ListId = "{LISTID}";
var a = new listSubscribe(new listSubscribeInput(ListId, model.Email, new Dictionary<string, object>()));
if(a.Execute().result)
{
//Do Stuff
}我需要一种方法来自动确认订阅(因为网站有它自己的验证方法)。当MailChimp发送给用户一封电子邮件,要求他们确认订阅,网站也是如此,我需要一种方法来自动接受用户的订阅。
这个是可能的吗?那我们该怎么做呢?
发布于 2011-10-20 01:27:50
看起来您应该能够将参数中的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 )https://stackoverflow.com/questions/7825268
复制相似问题