【问题标题】:Create MailChimp campaign创建 MailChimp 活动
【发布时间】:2011-05-07 14:43:07
【问题描述】:
   Dim CCoptions As campaignCreateOptions = New campaignCreateOptions()
    CCoptions.from_email = "chimpmail12@gmail.com"
    CCoptions.from_name = "dummy"
    CCoptions.to_email = "vettr@gmail.com"
    CCoptions.subject = "HelloWorld"
    CCoptions.list_id = "0fd2345g"
    CCoptions.title = "who am i?"

    Dim CCcontent As Dictionary(Of String, String) = New Dictionary(Of String, String)
    CCcontent.Add("html", "some pretty html content  message")
    CCcontent.Add("text", "hdfjhfk000")

    Dim params As campaignCreateParms = New campaignCreateParms
    params.content = CCcontent
    params.options = CCoptions
    params.type = EnumValues.campaign_type.auto
    params.apikey = "xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx-us2"

    Dim CCinput As campaignCreateInput = New campaignCreateInput(params)

    Dim CCcmd As campaignCreate = New campaignCreate(CCinput)
    Dim CCoutput As campaignCreateOutput = CCcmd.Execute()

    Label1.Text = CCoutput.result       

我没有得到任何答案,你能指出我的问题吗?

【问题讨论】:

    标签: vb.net mailchimp


    【解决方案1】:

    如果您没有从人们那里得到任何答复,您可能想查看是否有任何电子邮件正在发送,以及它们是否在正确的时间发送给了正确的人。

    【讨论】:

    • 您好,感谢您的快速回复,我正在使用 PerceptiveMCAPI。我应该在标签框中获取广告系列 ID。但它没有返回任何东西。那是我的问题
    • 感谢您的帮助,我想通了。我改变了 params.type = EnumValues.campaign_type.auto
    • 感谢您的帮助,我想通了。我将 params.type = EnumValues.campaign_type.auto 更改为 params.type = EnumValues.campaign_type.regular
    猜你喜欢
    • 2018-12-03
    • 2018-05-08
    • 2017-04-25
    • 2015-10-04
    • 2015-10-17
    • 2019-10-20
    • 2011-09-17
    • 2016-12-22
    • 2017-12-04
    相关资源
    最近更新 更多