Table of Contents

TTMSFNCCloudSMS.SendCloudSMS Method

Sends a text message through the selected provider and reports the result through OnSendCloudSMS and the optional callback.

API unit family: TMSFNCCloudSMS Declaring type: TTMSFNCCloudSMS Inherited from: TTMSFNCCustomCloudSMS

Syntax

procedure SendCloudSMS(AFrom: string; ATo: string; ABody: String; ACallback: TTMSFNCCloudSMSSendCloudSMSCallBack = nil; AID: string = ''; ADataPointer: Pointer = nil);

Parameters

Name Description
AFrom Sender phone number or sender identifier.
ATo Destination phone number.
ABody Text body of the message.
ACallback Optional callback invoked when the request completes.
AID Optional caller-supplied identifier carried through to the resulting request.
ADataPointer Optional caller-supplied pointer carried through to the resulting request.