-
The problem is that by the time the Application_Quit event fires, all the GUIs have been closed and you will not have programmatic access to any existing folder or item. You would have to use a button (let's call it the "Quit" button) and develop a custom routine which would move the read emails into your local PST. You would also need to decide if you want to move read emails in subfolders to the local PST, and if so, where. For example, they could be moved to corresponding folders in the PST.
Overall it might be easier to move the messages after they are read, using the MailItem_Close event. See http://msdn.microsoft.com/en-us/libr...ice.11%29.aspx for sample code.
Note that neither of these approaches will work when you're reading emails on your phone.
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules