Solved

move mail items on close

Posted on 2012-03-28
4
379 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

Windows Server 2016: All you need to know

Learn about Hyper-V features that increase functionality and usability of Microsoft Windows Server 2016. Also, throughout this eBook, you’ll find some basic PowerShell examples that will help you leverage the scripts in your environments!

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Large Outlook files lead to various unwanted errors and corruption issues. Furthermore, large outlook files can also make Outlook take longer to start-up, search, navigate, and shut-down. So, In this article, i will discuss a method to make your Out…
When you have clients or friends from around the world, it becomes a challenge to arrange a meeting or effectively manage your time. This is where Outlook's capability to show 2 time zones in one calendar comes in handy.
Get people started with the process of using Access VBA to control Excel using automation, Microsoft Access can control other applications. An example is the ability to programmatically talk to Excel. Using automation, an Access application can laun…
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…

777 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