Delete folder contents upon exit

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
 
S

Sue Mosher [MVP-Outlook]

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.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top