How to track details of mails removed from a folder -Outlook

Hi experts,

I am trying to get details of the mails that are moved from a particular folder. The problem is that Outlook provides a ItemRemove event but does not provide details of the removed item. Is there any workaround? Let me know if i am not clear.
LVL 13
Hitesh ManglaniAsked:
Who is Participating?
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

David LeeCommented:
Hi, hiteshgoldeneye.

What version of Outlook are you using?  Have you considered using the Selected items of the ActiveExplorer?
0
Hitesh ManglaniAuthor Commented:
I am using Outlook 2003, I am not aware of selected items of the ActiveExplorer
0
David LeeCommented:
Never mind Selection.  Bad idea.  ItemRemove fires after the item has been moved, so Selection returns the item selected after the move.  I don't think there is a good solution for this in Outlook 2003.  Outlook 2007 adds a new event for folders called BeforeItemMove that solves this problem.  It passes the item being moved.  
0
Determine the Perfect Price for Your IT Services

Do you wonder if your IT business is truly profitable or if you should raise your prices? Learn how to calculate your overhead burden with our free interactive tool and use it to determine the right price for your IT services. Download your free eBook now!

Hitesh ManglaniAuthor Commented:
HI thnx for your reply, does that mean there is no work around for Outlook 2003? Also BlueDevilFan u had helped me in an earlier question
http://www.experts-exchange.com/Software/Office_Productivity/Groupware/Outlook/Q_24383963.html
i need some help on it, if possible pls spare ur time, if you want me to open a new question for the same, pls let me know.
0
Hitesh ManglaniAuthor Commented:
I had found one software in the following link
http://www.aptrio.com/Development/ActiveX/outlook-plus-events-11011.html
but I am unable to download the same :(
0
David LeeCommented:
"does that mean there is no work around for Outlook 2003?"
I wouldn't say that there is no workaround, I would say there is no good workaround.  You could always write code to enumerate all the messages in a folder when the folder is first opened and then compare the contents of the folder after an ItemRemove event to see which items are missing.  That will require a fair amount of effort to write and use.  You would be better served by upgrading to Outlook 2007.  I don't know anything about the product you linked to.  

I will take a look at the other question.
0

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
Hitesh ManglaniAuthor Commented:
Hi BludeDevilFan,. thnx for our reply, you had mentioned
>>Outlook 2007 adds a new event for folders called BeforeItemMove that solves this problem.  It passes the item being moved.  

What if multiple items are moved, is a collection passed in this case?
0
David LeeCommented:
The event is called once for each item moved.
0
Hitesh ManglaniAuthor Commented:
thanks BlueDevilFan just a final comment before closing this question
you mentioned
>>You could always write code to enumerate all the messages in a folder when the folder is first opened and then compare the contents of the folder after an ItemRemove event to see which items are missing.  That will require a fair amount of effort to write and use.

in this case i will not know if the messages have been moved or deleted, since deleting is not to be considered. Am i right?

Also upgrading to Outlook 2007 is not on the cards as of now.
0
David LeeCommented:
"i will not know if the messages have been moved or deleted"
Correct.
0
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
Outlook

From novice to tech pro — start learning today.