Looking for client-side method (Outlook 2007/Exchange 2007) for users to delete

  • Thread starter Thread starter Sue Morton
  • Start date Start date
S

Sue Morton

Good Morning,

We have Outlook 2007 clients on Exchange 2007. Client side registry has
dumpster turned on for all mailbox folders. Exchange is configured with 21
days dumpster retention.

This configuration is working well for us. But we also would like to give
specific users, the ability to quickly and easily purge the contents of all
their folder dumpsters, at their discretion.

These users do this now, but it is all manual. They use the 'Recover
Deleted Items' dialog and permanently delete the contents of the dumpster
from there, but this is only possible on one folder at a time (AFAIK). It's
tedious and time consuming as these users have many folders.

I already have VBA code running on client side for another purpose, that
iterates through all the mailbox folders. But I'm not very experienced with
Outlook VBA, and so far I've not been able to find information on accessing
the dumpsters from the code.

TIA for any help and information on solving this request.

Thanks and regards,
 
The Outlook object model doesn't have what you need to do what you want.

A third party library, Redemption (www.dimastr.com/redemption) has an
RDOFolder2 object that can be used to get the DeletedItems collection of a
folder and then you can go through that collection deleting everything,
which will clear the dumpster for that folder.

Other than using Redemption you'd have to use Extended MAPI, which can only
be programmed using C++ or Delphi and has a very long learning curve.
 
Back
Top