Delete folder contents upon exit

  • Thread starter Thread starter RVS
  • Start date Start date
R

RVS

Hi -

Using Outlook 2002, can I set a folder (OTHER THAN THE DELETED FOLDER) to
have all of that folder's contents deleted upon exiting Outlook?

I am using an add-on program that dumps spam into a folder called Spam, and
I would like the contents of this folder automatically deleted when I exit
Outlook.

Thanks
 
It can be done with Outlook VBA code, but detecting when Outlook closes is
rather complicated. A simpler approach would be to set the folder to
AutoArchive and purge items. If you have archiving set to run every day,
you'll never have more than two days' worth of items in that folder, which
should make it quite manageable.
 
Back
Top