Rules / Code On Deleted Items Folder

  • Thread starter Thread starter Jeff
  • Start date Start date
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.
 
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
 
Back
Top