Click here to Skip to main content
15,910,787 members
Please Sign up or sign in to vote.
3.50/5 (2 votes)
See more:
I am developing an Outlook add-in to filter e-mails in the inbox. Once the user enters the filter requirements, I need to apply the filter to every new email, when outlook is loading.

I have a specific form to let users enter words to search for in the body content of each email, then the emails are filtered in a data grid. What I want to do with XML is save those filter criteria words and the folder name to which they apply and automatically perform that task without getting any more information from the user. Is this possible with XML or do I need to use any other technique?
Posted
Updated 13-Aug-10 7:04am
v5
Comments
Rajesh Sajjanar 2-Aug-10 13:46pm    
Hi Please post how you are achieving the email Adin for filtering emails inbox as this will help in providing the appropriate answer to your question, and Also why you are creating Adin to filter emails in inbox ? you can create rules manually in outlook so that you can filter the emails
Keith Barrow 2-Aug-10 14:21pm    
The title doesn't relate to the problem as far as I can see.Can you clarify what role the XML plays, and what you want to do with it please?
William Winner 2-Aug-10 15:04pm    
Reason for my vote of 2
You need to ask a specific question. We won't write the code to do it for you. You need to tell us what you're stuck on.

Are you wondering how to store the filters? Are you wondering how to do the filtering? Are you wondering how to do this when a new message is received?

Be more specific and you'll get more responses.
Kasunmit 13-Aug-10 11:06am    
question has been updated pls look sry for the late reply ...

1 solution

I edited your question to make it more clear. Look at the changes I made and try to learn from them so you can phrase your next question more clearly.

Sounds like you just want to store some structured collections of data. Yes, you can do that with XML.
 
Share this answer
 
Comments
Kasunmit 13-Aug-10 13:06pm    
yhh correct but i need to know is using xml can i retrive that stored data again to program to automation kind of thing
AspDotNetDev 13-Aug-10 13:16pm    
Can't you just store the XML file in some settings folder and then load it up again next time you need it?

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900