Solved

move mail items on close

Posted on 2012-03-28
4
377 Views
Last Modified: 2012-04-07
experts,

i've been asked to clear my deleted items folder in outlook 2003 as my company wants to permantly delete those items on a nightly basis. I'd like to script outlook to move all items from "deleted items" to a folder "deleted items - kept" when i exit outlook or on a schedule. i've built the routine, and tested it fine, but it fails on the quit event from outlook. I'm guessing because outlook closes before the quit event is fired. is there a way around this?

i've seen some posts where people suggest firing the module when a reminder is triggered, but that's not ideal for me.

any help would be much appreciated.
0
Comment
Question by:telliot79
  • 3
4 Comments
 
LVL 47

Expert Comment

by:apache09
ID: 37779200
No need for a script to do this.
Outlook has this as built in functionality

IN Outlook, go to Tools>Options>Other

Check Empty Deleted Items on Close
0
 

Author Comment

by:telliot79
ID: 37779219
i don't want to empty the folder, i want to move them from the deleted items to another folder.
0
 

Accepted Solution

by:
telliot79 earned 0 total points
ID: 37798077
doesn'[t look like this has been done. I've created a hotkey in stead and assigned it to a button i've created that does the same thing. not ideal, but will have to do.
0
 

Author Closing Comment

by:telliot79
ID: 37818702
doesn't look like it can be done so i've found a close alternative.
0

Featured Post

Free Trending Threat Insights Every Day

Enhance your security with threat intelligence from the web. Get trending threat insights on hackers, exploits, and suspicious IP addresses delivered to your inbox with our free Cyber Daily.

Join & Write a Comment

Suggested Solutions

Create high volume marketing opportunities using email signatures with these top 10 DOs and DON'Ts of email signature marketing.
Follow this checklist to learn more about the 15 things you should never include in an email signature from personal quotes, animated gifs and out-of-date marketing content.
Get people started with the process of using Access VBA to control Outlook using automation, Microsoft Access can control other applications. An example is the ability to programmatically talk to Microsoft Outlook. Using automation, an Access applic…
Show developers how to use a criteria form to limit the data that appears on an Access report. It is a common requirement that users can specify the criteria for a report at runtime. The easiest way to accomplish this is using a criteria form that a…

759 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

23 Experts available now in Live!

Get 1:1 Help Now