Rss 2.0 via FEED

About...

tytnII_101x111_thumbProgrammatically 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;
..and..
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...

GEO 51.4043197631836:-1.28760504722595

Share/Bookmark

Posted: Monday, October 06, 2008 11:37:41 PM (GMT Daylight Time, UTC+01:00)  #   Comments [0]
TAGS: .NET | C Sharp | Software | Windows Mobile
Copyright © 2010 Ken Hughes. All rights reserved.

Creative Commons License
This work is licensed under a Creative Commons Attribution 2.0 UK: England & Wales License.