Collection containing SendStatus objects for each recipient
import IntelliSoftware.SMSGateway.SDK.IntelliSMSJavaSDK.*; IntelliSMS objIntelliSMS = new IntelliSMS(); objIntelliSMS.Username = "MyUsername"; objIntelliSMS.Password = "MyPassword"; SendStatusCollection SendStatusList = objIntelliSMS.SendMessage ( "44771012345,44771023456", "Hello", "SENDER_ID" ); for ( int nIdx=0; nIdx<SendStatusList.size(); nIdx++ ) { SendStatus objSendStatus = SendStatusList.get(nIdx); if ( objSendStatus.ResultCode == ResultCodes.OK ) { System.out.println( objSendStatus.To + " Sent OK (" + objSendStatus.MessageId + ")" ); } else { System.out.println( objSendStatus.To + " Sent Failed (" + objSendStatus.ResultCode + ")" ); } }
<< Back to Java SDK
SMS Interfaces HTTP Interface SMTP Interface COM Component .NET Component PHP SDK Java SDK
Reply Routing
Inbound SMS
Why IntelliSMS?
Coverage
Prices
Downloads
Documents
Free Trial