VBA script to empty an outlook folder

S

Stephen Boulet

I've had no luck finding a code sample for this: I'd like to create a
script to move all mail in a certain folder to the "Deleted Items"
folder. This folder is used for spam.

What I'm really trying to avoid is having to click on a piece of email
by hand in order to delete it, because that would let the email open
off-site links, possibly notifying spammers that they've hit on a valid
email address.

Another solution that would work if Outlook can do it: can you set up a
folder to prohibit off-site links opening up in html mail?

Stephen
 
Top