.Net Component

SendStatusCollection

Description:

Contains the send status for each recipients.

C# Example:

using IntelliSoftware;

IntelliSMS objIntelliSMS = new IntelliSMS();

objIntelliSMS.AccessKey = @"Yva$ER%Uhs+UU[MzwEYe";
objIntelliSMS.SecretKey = @"F{kQ^s`wVpm!EU~Bx8yB^A$N$[l{pxJA";

StringCollection ToList = new StringCollection();
ToList.Add ( "44771012345" );

SendStatusCollection SendStatusList;

SendStatusList = objIntelliSMS.SendMsgToMultipleRecipients 
    ( ToList, "Hello", "SENDER_ID" );
    
    
string Report = "";
foreach ( SendStatus sendStatus in SendStatusList )
{
    Report += "To:" + sendStatus.To + ", " +
              "MessageId:" + sendStatus.MessageId + ", " +
              "ResultCode:" + sendStatus.ResultCode + "\n";
}

MessageBox.Show ( Report );
			

<< Back to DotNet Component