.NET Components for Mobility

EMailMessage Delete

Last post 09-06-2010 12:35 AM by PeterFoot. 1 replies.
Page 1 of 1 (2 items)
Sort Posts: Previous Next
  • 09-02-2010 6:00 AM

    EMailMessage Delete

    Hello,

    I'm trying to delete an EmailMessage from a WindowsMobile application.

    However, a NullReferenceException occurs when I call Delete() method whereas EmailMessage object exists (itemId is correct).

    I use InTheHand 3.3 library. I don't know if this functionnality is supported by this version.

    I tried to call MoveTo(...) method to put EmailMessage in DeletedItems folder before deleting it but NullReferenceException occurs equally.

    Moreover, I didn't access to ParentFolder property to check EmailMessage folder.

     Alex

  • 09-06-2010 12:35 AM In reply to

    Re: EMailMessage Delete

    The process for deleting an email is slightly different depending on the account type - is it an ActiveSync, POP or IMAP account. What type of device are you using? (and what version of Windows Mobile?)

    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