How to detect if a message is deleted (IMAP)

  • Thread starter Thread starter kenoa
  • Start date Start date
K

kenoa

For an Outlook (2003) add-in, I want to know whether a given (IMAP)
message is deleted or not. I don't want to react on an event. Rather, I
iterate through all messages in a folder and want to handle the deleted
ones only.

Is there any way to find the delete status of a message? I tried
OutlookSpy but didn't find any property or method...

Thanks,
Keno
 
Not in the Outlook Object Model - in Extended MAPI/CDO 1.21/Redemption, you
will need to read the following named property
{00062008-0000-0000-C000-000000000046}, 0x8570, PT_LONG - anything but 0
denotes a message marked for deletion.

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