Sending SMSs from your Microsoft .NET Compact Framework-based Applications
-
can anyoner plz. help me out in writing a code in c# for Sending SMSs from your Microsoft .NET Compact Framework-based Applications regards
-
can anyoner plz. help me out in writing a code in c# for Sending SMSs from your Microsoft .NET Compact Framework-based Applications regards
hi, convert this code in C# and try
Imports Microsoft.WindowsMobile.PocketOutlook Imports Microsoft.WindowsMobile.PocketOutlook.MessageInterception Private Sub SendSMS() Dim messageBody As String messageBody = Me.MessageText Dim SMSMessage1 As SmsMessage = New SmsMessage("+919848356760", messageBody) 'Dim SMSMessage1 As SmsMessage = New SmsMessage("+911425001007", messageBody) SMSMessage1.Send() End Sub
hope this helpsRupesh Kumar Swami Software Engineer, Integrated Solution, Bikaner (India) My Company
-
can anyoner plz. help me out in writing a code in c# for Sending SMSs from your Microsoft .NET Compact Framework-based Applications regards
Hi, Hope the following code is helpful to you: using Microsoft.WindowsMobile.PocketOutlook; using Microsoft.WindowsMobile.PocketOutlook.MessageInterception; SmsMessage sendMsg = new SmsMessage(); Recipient recpt = new Recipient("1234567890"); sendMsg.Body = "Hello"; sendMsg.To.Add(recpt); sendMsg.Send(); Regards Parasmani Swamy
modified on Saturday, March 29, 2008 7:37 AM