.Net Component

SendMMSMessage

SendStatusCollection SendMMSMessage ( StringCollection To, MMSMessage Message )

Sends an MMS message to one or more recipients via the Internet Gateway.

Parameters:

To Input List of destination phone numbers
MMSMessage Input MMS Message to be sent (includes subject and message parts).
SendStatusCollection Return This collection is populated with the send status for each recipient.

Exceptions:

IntelliSMSException Error returned by the IntelliSoftware SMS gateway
IntelliSMSClientSideException Error raised by the IntelliSMS Component (Client-Side) prior to making the submission to the IntelliSoftware SMS gateway

C# Example:

using IntelliSoftware;

MMSMessage NewMMSMessage = new MMSMessage();
NewMMSMessage.Subject = "MMS Message Subject";

MessagePart MessagePart1 = new MessagePart();
MessagePart1.Filename = "Image1.gif";
MessagePart1.SourceFilename = "C:\Image1.gif";
NewMMSMessage.MessageParts.Add ( MessagePart1 );

MessagePart MessagePart2 = new MessagePart();
MessagePart2.Filename = "Text1.txt";
MessagePart2.Text = "This is a text part";
NewMMSMessage.MessageParts.Add ( MessagePart2 );


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.SendMMSMessage 
    ( ToList, NewMMSMessage );
			

<< Back to DotNet Component