Clearing folder 'Deleted Items'

K

Koen Verwimp

Hey,

What is the best/easiest way to clear a MAPIFolder programmatically?

Thank you,
Koen
 
K

Ken Slovak - [MVP - Outlook]

Get the Items collection for the folder and iterate it using a count down
loop, deleting items as you go.
 

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