SpreadWebServcie.Send2 Method

 

It send email by specify campaign name one to one.

Note: The maximum daily limit 20 different campaign Name.
The contact will be automatically added to the contact list named "Auto_ + Campaign Name". This function allows duplicate sending, so the contact list may contains duplicate email. Don't use this contact list in other campaigns, if you want to avoid duplicate sending.

public String Send2 (

string LoginEmail,

string Password,

string CampaignName,

string From,

string FromName,

string To,

string Subject,

string Body

)

Parameters

Parameter

Type

Description

LoginEmail

String

The login email of your Spread account.

Password

String

The password of your Spread account or API Key which you can retrieve from your Spread account (My account=> Settings).

CampaignName

String

The name of the campaign to be send.

From

String

The email address of sender.

FromName

String

The name of sender.

To

String

The email address of recipient.

Subject

String

The subject of the campaign.

Body

String

The content of the campaign.

Return Value

String  represent the result of send status .

Example

string LoginName = "spread@reasonables.com";

string LoginPassword = "spread";

 

string CampaignName = "Noclone campaign";

 

 //Define the from infomation

string From = "myedm@edm.com";

string FromName = "Reasonable";

 

//Define recipient email

string To = "noclone@reasonables.com"; 

 

//Define the email subject and content

string Subject = "NoClone 4 is released!"; 

string Body = "Download NoClone 4 at http://noclone.net now!";  

 

//Create a SpreadWebService object and use its method.

SpreadWebService MySpread = new SpreadWebService();

 

string result = MySpread.send2(LoginName,LoginPassword,CampaignName,From,FromName,To,Subject,Body);

See Also

SpreadWebService Class | Spread Web Service Namespace

Subscriber Class

DoubleOptIn Enumeration