SendMMSMessage
SendStatusCollection SendMMSMessage ( StringCollection To, MMSMessage Message )
Sends an MMS message to one or more recipients via the Internet Gateway.
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