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?
Who is Participating?
DocCan11Connect With a Mentor Commented:
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!

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 and store as you need..
Luis PérezConnect With a Mentor Software 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):
Exchange Server Developer Center (once inside, click on the link 'Programming Tasks', is extremely useful):
Microsoft Exchange Server Resource Site:
The Microsoft Exchange Team Blog:

Hope that helps.
Creating Active Directory Users from a Text File

If your organization has a need to mass-create AD user accounts, watch this video to see how its done without the need for scripting or other unnecessary complexities.

jorgesv13Author 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?
could you tell me what version of exchange you are using?
jorgesv13Author Commented:
I'm using Exchange Server 2007
DocCan11Connect With a Mentor Commented:
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

Give me a sec and I will find you info on an easier way using webservices as mentioned above..
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

All Courses

From novice to tech pro — start learning today.