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
jorgesv13Asked:
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!

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

0
 
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é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): 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
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?
0
 
DocCan11Commented:
could you tell me what version of exchange you are using?
0
 
jorgesv13Author Commented:
I'm using Exchange Server 2007
0
 
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

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