How to delete message with VB

  • Thread starter Thread starter Guest
  • Start date Start date
G

Guest

I am trying to delete a message with VB

strMessageID = "000000002CBF3C227B01764AAAE693B55671902907003206C00BDE71D711B3C80003474E22820000020CCF260000E02B9526282D654AAC2A9078914D0ECC00000049BB410000"

Set objMessage = mobjSession.GetMessage(strMessageID)
objMessage.Delete

this generate a folow error MAPI_W_PARTIAL_COMPLETION, when trying delete

Help

thanks
 
You may need to use the StoreID as well as the EntryID in the GetMessage method.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Back
Top