Save the incoming Mails from Exchange Server to a database

Hello experts,
I'm very new to Exchange Server.
I need to download the incoming mails from Exchange Server to a database.
How can I accomplish it?
Can you give some good resources to get started? (preferred VB.Net)
Is it a difficult task?
LVL 8
Jorge SanchezSoftware EngineerAsked:
Who is Participating?

[Product update] Infrastructure Analysis Tool is now available with Business Accounts.Learn More

x
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.

DocCan11Commented:
Depending on the exchange version you are using you can have a copy of all emails sent to a seperate mailbox which you can then query using vb.net and store as you need..
0
Luis PérezSoftware Architect in .NetCommented:
Well, if you use Exchange Server 2007, then you'll probably can use Exchange Web Services. It's a bit difficult at the beggining, but soon you'll find that that's probably the best way to interact with Exchange Server from .NET code (any language).

Exchange Web Services it's a Huge world, but afortunately it's well documentated. Here I give some useful URLs...
Creating an Exchange Web Services Client Application (from MSDN): http://msdn.microsoft.com/en-us/library/bb408521.aspx
Exchange Server Developer Center (once inside, click on the link 'Programming Tasks', is extremely useful): http://msdn.microsoft.com/en-us/exchange/default.aspx
Microsoft Exchange Server Resource Site: http://www.msexchange.org
The Microsoft Exchange Team Blog: http://msexchangeteam.com/

Hope that helps.
0
Jorge SanchezSoftware EngineerAuthor Commented:
Thanks all for your answers.

DocCan11, can you give me more details on your approach? Do you have a link that I can use as a start-point for my application?
0
Big Business Goals? Which KPIs Will Help You

The most successful MSPs rely on metrics – known as key performance indicators (KPIs) – for making informed decisions that help their businesses thrive, rather than just survive. This eBook provides an overview of the most important KPIs used by top MSPs.

DocCan11Commented:
could you tell me what version of exchange you are using?
0
Jorge SanchezSoftware EngineerAuthor Commented:
I'm using Exchange Server 2007
0
DocCan11Commented:
ok.. there are two ways of doing this and it depends if you have webdav on.. if you do this is a walkthrough including coding examples

http://msdn.microsoft.com/en-us/library/aa123571.aspx

Give me a sec and I will find you info on an easier way using webservices as mentioned above..
0
DocCan11Commented:
this is a good article on how to use the exchange web services.. check out the 3 part intro series and I am sure you will be up and running in no time!

http://blogs.visoftinc.com/archive/2008/03/20/Using-Exchange-Web-Services-2007-The-Basics.aspx

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
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
Exchange

From novice to tech pro — start learning today.