.NET Components for Mobility

SmsAccount (or SmsMessage) not working

Last post 08-06-2008 2:05 PM by thatguy. 2 replies.
Page 1 of 1 (3 items)
Sort Posts: Previous Next
  • 07-27-2008 11:39 PM

    SmsAccount (or SmsMessage) not working

    Hey all, I'm trying to do the following while evaluating this software:

    OutlookSession session = new OutlookSession();
    foreach (SmsMessage msg in session.SmsAccount.Inbox)
    {
       txtLog.Text += msg.Body + "\n";
    }

    But it doesn't seem to be working for me at all.  I am not getting any messages returned.  When I run this on the emulator it works great, but on my personal phone it does not.

     I am using a Palm treo 750w, with Windows mobile 6, and ATT as my service (I believe ATT has a custom messaging application, so it may be possibly be part of the issue) does anyone have any ideas or suggestions for this?

     Thanks!

    Tom

  • 08-05-2008 7:12 AM In reply to

    Re: SmsAccount (or SmsMessage) not working

    The Palm Treo has a modified messaging application and doesn't use the standard SMS account like other devices. I don't have access to a Palm device and I don't know whether it is something that can be worked around by using a different store name, or whether the messages are kept entirely outside the MAPI store. Out of interest does the EmailAccounts collection contain any additional accounts which may be the Palm SMS account?

    Peter

    Peter Foot
    Microsoft Device Application Development MVP
    www.peterfoot.net | www.inthehand.com
  • 08-06-2008 2:05 PM In reply to

    Re: SmsAccount (or SmsMessage) not working

     Hi Peter,

     I tried reading the account in the EmailAccount collection, and couldn't find anything relating to text or sms messages.

    The accounts listed were as follows: HBT, NSO, NH, and ActiveSync (the first three are my personal email accounts)

    Is there a way for me to list all of the MAPI stores or anything like that on the device?  Any ideas of how I can use your library to access these messages?  I would be more then happy to be a guinea pig for you, I greatly appreciate any suggestions.

    Thanks!

    Tom

Page 1 of 1 (3 items)
Copyright © 2001-2008 In The Hand Ltd. All rights reserved. Terms of Use and Privacy Policy.