.NET (29) Archiving (10) ASP.NET (9) Books (3) C Sharp (30) Code Generation (3) Dasblog (16) Design Patterns (4) Development (37) Exchange (14) Family (10) GPS (7) Hardware (10) mixuk07 (1) Mountaineering (7) MSCRM (6) Office (3) Outlook (13) Personal Development (4) PHP (4) PowerShell (7) Productivity (9) RSS (15) Running (2) Scripting (20) SCRUM (3) Service (3) Software (60) Support (17) TaHoGen (2) Technical (50) Tools (13) Twitter (5) Web (16) Windows 7 (4) Windows Mobile (10) WS* (1)
Sign In
Programmatically sending an SMS message from your Windows Mobile is fairly simple these days.
You'll need the WM6 SDK. Start a new Visual Studio 'Smart Device Project', add a reference to Microsoft.Windows.PocketOutlook, then use the following code...
using Microsoft.WindowsMobile.PocketOutlook;
public void Send(string to, string msg) { if ((to != string.Empty) && (msg != string.Empty)) { SmsMessage message = new SmsMessage(to, msg); try { message.Send(); } catch (Exception ex) { MessageBox.Show(ex.ToString()); } } }
Job done...
Remember Me
a@href@title, b, blockquote@cite, em, i, strike, strong, sub, sup, u