Java SDK

SendMessage

Sends an SMS message via the Internet Gateway.

SendStatusCollection SendMessage ( String[] ToList, String Message, String From )
throws IntelliSMSException

Parameters:

ToList Input String array containing destination phone numbers
Message Input The content of the text message
From Input This is the source/sender's phone number
SendStatusCollection Return Collection containing the send status for each recipient. See SendStatusCollection

Exceptions:

IntelliSMSException Error returned by the IntelliSoftware SMS gateway

Java Sample:

import IntelliSoftware.SMSGateway.SDK.IntelliSMSJavaSDK.*;

IntelliSMS objIntelliSMS = new IntelliSMS();
objIntelliSMS.Username = "MyUsername";
objIntelliSMS.Password = "MyPassword";

objIntelliSMS.SendMessage ( "44771012345,44771023456", "Hello", "SENDER_ID" );

<< Back to Java SDK