Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations IamaSherpa on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

script to empty specific folder in Outlook

Status
Not open for further replies.

DVHITMAN

Technical User
Jun 19, 2013
12
GB
Hi,

is there a way via a vbs script that I can empty the contents of an outlook folder, called "Cloudmark (spam)" when its run ?

The ones I have found so far googling do not seem to work.

I have multiple users using either Outlook 2003/2007 or (a small handful using) 2010.

Thanks
 
Hi,

Ive tried a vba script in Outlook that empties the Delete folder fine, Im trying to see if I can a) amend it to empty another folder and b) run when outlook opens.
Ive also been pointed to a PS script to do the job, but I need to figure out if I can get it to run as part of the login sequence (
 
If you are using VBA, the better forum would be forum707. And I recommend you post what code you are using currently.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top