.Net Component

SendMsgToMultipleRecipients

Sends an SMS message to multiple recipients via the Internet Gateway.

SendStatusCollection SendMsgToMultipleRecipients ( StringCollection To, String Text, String From )

Parameters:

To Input List of destination phone numbers
Text Input The content of the text message
From Input This is the source/sender's phone number
SendStatusCollection Return This collection is populated with the send status for each recipient

Exceptions:

IntelliSMSException Error returned by the IntelliSoftware SMS gateway

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" );
    ToList.Add ( "44771054321" );

    SendStatusCollection SendStatusList;

    SendStatusList = objIntelliSMS.SendMsgToMultipleRecipients 
        ( ToList, "Hello", "SENDER_ID" );
	    

<< Back to DotNet Component