Rules / Code On Deleted Items Folder

J

Jeff

Is there a way to write a rule, or a piece of code, which
runs against the "deleted items" folder and when any
message hits that folder it forwards it to mailbox?

Thanks.
 
K

Ken Slovak - [MVP - Outlook]

You can write an ItemAdd event handler for the Deleted Items folder
using Outlook VBA or a COM addin if you are using Outlook 2000 or
later. See this code sample for some VBA that handles ItemAdd in the
Inbox, you can see how it would work for the Deleted Items folder:
http://www.slipstick.com/dev/code/zaphtml.htm#cw

--
Ken Slovak
[MVP - Outlook]
http://www.slovaktech.com
Lead Author, Professional Outlook 2000 Programming, Wrox Press
Lead Author, Beginning VB 6 Application Development, Wrox Press
Attachment Options
http://www.slovaktech.com/attachmentoptions.htm
Extended Reminders
http://www.slovaktech.com/extendedreminders.htm
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top