function SendSMSViaZang(aAccountSID, aAuthToken, aRecipientNum, aMsg: string): boolean;


This function sends a text message (SMS) to a recipient phone number using the Zang service.
 
Parameters

aAccountSID

Your Esendex username

aAuthToken

Your Esendex password

aRecipientNum

The recipient phone number

aMsg

The actual text message to be sent

 
Return value

True

The message was successfully sent

False

Error while sending the message; the message was not sent

 
Example


// The following example sends a text message (SMS) to a recipient's phone via Zang

begin
  SendSMSViaZang('btdr763', 'yr43f787', '+10005550000', 'My text message goes here');
end.