.NET Components for Mobility

How to access email account address in ActiveSync setup account

Last post 03-25-2009 8:07 AM by PeterFoot. 1 replies.
Page 1 of 1 (2 items)
Sort Posts: Previous Next
  • 03-17-2009 12:26 PM

    How to access email account address in ActiveSync setup account

    OverviewCannot determine which property for an ActiveSync email account will give us the underlying email address for the account.. Details
    1. We are trying to access the underlying email address for an ActiveSync enabled email account.
    2. We have setup an emulator to sync with Exchange 2003 ActiveSync.
    3. We can send and receive emails in this account and sync sucessfully
    4. In accessing AccountProperty.SenderEmailAddress and EmailAccount.Name we are getting “ActiveSync”.
    5. Other accounts such as a gmail account are returning the correct item we are looking for (e.g., user@gmail.com).

    Could you give us any insight into how we could access this information?

     
    Filed under: ,
  • 03-25-2009 8:07 AM In reply to

    Re: How to access email account address in ActiveSync setup account

    The way the sender information is stored is different on different account types. The supported way to query actual email account settings is via the configuration API - InTheHand.WindowsMobile.Configuration.ConfigurationManager. The provider to use is the EMAIL2 provider. We don't currently have a managed wrapper around that provider so you'll have to build the XML document yourself. The provider is documented here:-

    http://msdn.microsoft.com/en-us/library/aa457968.aspx

     

    Peter

Page 1 of 1 (2 items)
Copyright © 2001-2012 In The Hand Ltd. All rights reserved. Terms of Use and Privacy Policy. OrcsWeb's Windows Cloud Server Hosting