SpreadWebServcie.GetCampaignBounces Method

 

下面例子演示了如何获取指定时间内邮件的弹回详细.

参数

参数

类型

描述

loginEmail

String

Spread账号的登录邮箱.

password

String

Spread账号的密码或者API Key.

campaignId

String

邮件活动的ID.

startDate

DateTime

报告的开始时间.

endDate

DateTime

报告的结束时间.

返回结果

Dataset 包含一个单表,行:subscriber_email, type_name, chkdate

例子

string loginName = "Spread@reasonables.com";
string loginPassword = "Spread";

int campaignID = 12345;
// suggest dateTime string format "dd MMM yyyy HH:mm:ss" ,such as "22 Feb 2013 12:11:21" .
DateTime startTime = DateTime.Parse("22 Feb 2013 12:11:21");
DateTime endTime = DateTime.Parse("23 Feb 2013 12:11:21");

//Create a SpreadWebService object and use its method.
SpreadWebService MySpread = new SpreadWebService();
DataSet result = MySpread.GetCampaignBounces(loginName, loginPassword, campaignID, startTime, endTime);

参见

SpreadWebService Class | Spread Web Service Namespace