SpreadWebServcie.GetCampaignStatus Method

 

获取邮件的活动状态

public CampaignStatus getCampaignStatus (

string loginEmail,

string password,

int campaignID

)

参数

参数

类型

描述

loginEmail

String

Spread账号的邮件地址.

password

String

Spread账号的密码或API Key.

campaignID

Integer

邮件活动的ID.

返回结果

CampaignStatus

例子

string loginName = "spread@reasonables.com";

string loginPassword = "spread";

int myCampaignID = 123456;

CampaignStatus myCampaignStatus;

 

//Create a SpreadWebService object and use its method.

SpreadWebService MySpread = new SpreadWebService();

 

myCampaignStatus = MySpread.getCampaignStatus (loginName, loginPassword, myCampaignID);

参见

SpreadWebService Class | Spread Web Service Namespace

CampaignStatus Enumeration