Send SMS Programmatically

Here is the snippet to send SMS programmatically

 

using

Microsoft.WindowsMobile.PocketOutlook;

SmsMessage smsMessage = new SmsMessage();

smsMessage.Body =

"Some message";

smsMessage.To.Add(

new Recipient(strNumber)); // StrNumber holds the receipeint number

smsMessage.RequestDeliveryReport =

false;

//Send the SMS message.

smsMessage.Send();