Table of Contents

Class CPSMSBaseClass

Namespace
Contensive.BaseClasses
Assembly
CPBase.dll

text messaging (SNS) layer. Provide properties and methods to abstract the service for addons.

public abstract class CPSMSBaseClass
Inheritance
CPSMSBaseClass
Inherited Members

Methods

Send(string, string)

Send an text message with SMS to the phone numnber.

public abstract bool Send(string smsPhoneNumber, string smsMessage)

Parameters

smsPhoneNumber string
smsMessage string

Returns

bool

SendSystem(string, string, int)

Send s system text message

public abstract bool SendSystem(string systemTextMessageGuid, string additionalCopy, int additionalUserID)

Parameters

systemTextMessageGuid string
additionalCopy string
additionalUserID int

Returns

bool

SendUser(int, string, ref string)

Send an SMS text message to a user by their user id. Returns false if the user has no cell phone on file.

public abstract bool SendUser(int userId, string smsMessage, ref string userError)

Parameters

userId int
smsMessage string
userError string

Returns

bool