SpreadWebServcie.UpdateSubscriberStatus Method

 

Update Subscriber Status.

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).

subscriberEmail

String

The subscriber's Email.

subscriberStatus

SubscriberStatus

The status of subscriber you want update to.

Return Value

String - Success/Fail/Error.

Example

string loginEmail = "Spread@reasonables.com";

string loginPassword = "Spread";

int subscriberEmail = "alan@reasonables.com";

campaignStatus subscriberStatus = SubscriberStatus.Active;

SpreadAPI. SpreadWebService MySpread = new SpreadAPI. SpreadWebService ();

string result = MySpread.UpdateSubscriberStatus(loginEmail, loginPassword, subscriberEmail, subscriebrStatus);

See Also

SpreadWebService Class | Spread Web Service Namespace