how to see if a mail item has been deleted or not (in an IMAP folder)

C

Christoph Guentner

When I delete a mail item in folder of an IMAP account the item is nit
removed but displayed stike through.
How can I detect in VBA or VB if the selected mail item is delted like this?
I checked all the properties and all the MAPI properties, but did not found
an appropiate.

Any idea?
 
D

Dmitry Streblechenko

Not in the Outlook Object Model - you will need to use Extended MAPI
(C++/Delphi) or CDO 1.21 or Redemption to see if the following
named property is present and set to anything other than 0:

{00062008-0000-0000-C000-000000000046}, 0x8570, PT_LONG

Look at a message with OutlookSpy (click Imessage) to see the property.

Dmitry Streblechenko (MVP)
http://www.dimastr.com/
OutlookSpy - Outlook, CDO
and MAPI Developer Tool
 

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

Top