SendSMSViaBulkSMS
function SendSMSViaBulkSMS(aUsername, aPassword, aRecipientNum, aMsg: string): boolean;
This function sends a text message (SMS) to a recipient phone number using the BulkSMS service.
Parameters
aUsername |
Your BulkSMS username |
aPassword |
Your BulkSMS 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 BulkSMS
begin
SendSMSViaBulkSMS('btdr763', 'yr43f787', '+10005550000', 'My text message goes here');
end.