我使用以下代码向网站中的新闻订阅者发送电子邮件,但此代码似乎不起作用,任何人都可以指导我,如何在asp.net网站中整合邮件黑猩猩: -
listSubscribe cmd = new listSubscribe();
listSubscribeParms newlistSubscribeParms = new listSubscribeParms
{
apikey = apikey,
id = "1",
email_address = "test@gmail.com",
merge_vars = new Dictionary<string, object>(),
double_optin = false,
email_type = EnumValues.emailType.html,
replace_interests = true,
send_welcome = false,
update_existing = true
};
listSubscribeInput newlistSubscribeInput = new listSubscribeInput(newlistSubscribeParms);
var subscribeSuccess = cmd.Execute(newlistSubscribeInput);