Hello,
I am trying to find a way to identify deleted items in outlook using IMAP. As you know when using IMAP and outlook when you delete a mail item, it puts a line through the item signifying that it is deleted, then you purge the folder to permanently delete all deleted items from the server and hence removes them from your Inbox. What I want to do is run a maro that identifies all deleted items, moves them to a different folder (ie. a "deleted items" folder) and then purge the current folder. Essentially this will give a deleted items folder, with a clean Inbox.
I can take care of moving and purging the emails, what I can't figure out is how to identify what messages are marked for deletion????
I either need a way to determine if an item is marked for deletion or a way to determine when the delete button has been pressed so I can run code at that time.
Can anyone help with this? It's driving me nuts!!