In my free time, i just think about how to send Sms in my PDA, using C#..
First u should add reference Microsoft.WindowsMobile.PocketOutlook.dll. Then use this simple code.
try
{
SmsMessage sendMess = new SmsMessage();
Recipient rec = new Recipient(sPhoneNumber);
lblSentDate.Text = sendMess.LastModified.Date.ToString(“dd/MM/yy hh:mm”);
sendMess.To.Add(rec); //set the mobile number destination
sendMess.Body = msgRecipient.Text; //write text message in here
sendMess.Send(); //for sending the message
sendMess.RequestDeliveryReport = true;
lblMsg.Text = “message sent”;
}
catch (Exception ex)
{
lblMsg.Text = “message not sent. Reason: ” + ex.Message; // catch error in here.
}