View Single Post
  #2  
Old January 25th 07, 07:16 PM posted to microsoft.public.outlook.program_vba
Dmitry Streblechenko
external usenet poster
 
Posts: 2,116
Default how to see if a mail item has been deleted or not (in an IMAP folder)

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

"Christoph Guentner" wrote in message
...
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?






Ads