How to determine if a MAPIFolder is a "Deleted Items" folder

  • Thread starter Thread starter Semut
  • Start date Start date
S

Semut

Hello, anyway to determine the MAPIFolder if it is the system "Deleted
Items" folder?


thank you.
 
NameSpace.GetDefaultFolder(olFolderDeletedItems) to get the system folder,
then either CDO or Redemption or Extended MAPI to use CompareIDs to compare
the Entry and Store ID's. Or if you're using one of those libraries you
could use the MAPI property in the InfoStore container
PR_IPM_WASTEBASKET_ENTRYID (0x35E30102).
 
Back
Top