.NET Components for Mobility

SMS import

Last post 09-22-2008 3:28 AM by PeterFoot. 1 replies.
Page 1 of 1 (2 items)
Sort Posts: Previous Next
  • 09-12-2008 6:38 AM

    SMS import

     Is it possible to import SMS into a folder?

    I'd like to write an application which can import text stored in a text file into the sms folders.

    To, From, Received and other properties of a New SmsMessage() are read only - is this a restriction of the WM5/6 API or is it just not implemented in your component?

    Filed under: ,
  • 09-22-2008 3:28 AM In reply to

    Re: SMS import

    You can write directly to properties on the message using the Properties collection e.g.

     sms.Properties[MessageProperty.SenderEmailAddress] = "John Smith <123456789>";

    The MessageProperty enumeration contains all the supported properties such as MessageDeliveryTime (Received). To modify the To recipients you can add new Recipient objects to the collection, then call Update() on the message to save changes.

    Peter

    Peter Foot
    Microsoft Device Application Development MVP
    www.peterfoot.net | www.inthehand.com
Page 1 of 1 (2 items)
Copyright © 2001-2008 In The Hand Ltd. All rights reserved. Terms of Use and Privacy Policy.