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 .NET Component COM Component PHP SDK Java SDK
Text Messaging Send SMS Receive SMS SMS Replies
MMS Messaging Send MMS Receive MMS
Prices
Free Trial
Premium SMS
Downloads
Documents
Support Forum
Coverage