1

我正在使用以下代码向网站中的时事通讯订阅者发送电子邮件,但此代码似乎不起作用,谁能指导我,如何在 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);
4

0 回答 0