reading email from exchange server 2003

  • Thread starter mark wheeler via .NET 247
  • Start date
M

mark wheeler via .NET 247

I have a requirement whereby I need to read the contents &attachments of email sent to an account in exchange server2003.
The email details (sender, attachment file names, date, etc) areto be stored into a SQL server 2000 database and the fileattachment(s) are copied to a specified location. Theapplication is to be written using visual studio.net (C#). Exchange server sits on one server, my appliaction will run as aservice on another server. Can anyone give me some advice as tothe best way to go about this ?
Ive read so many articles and im not sure which way would be best(CDO, MAPI,WEBDAV) some code samples would be great and anyresources i could read up on. Im new to this, so any help wouldbe greatly appreciated.
 
N

Nicholas Paldino [.NET/C# MVP]

Mark,

I think that the best bet would be for you to use COM interop, and
access the CDO library. It should have all the functionality that you need
(in conjunction with ADO.NET) to perform this operation. MAPI is another
way to go, but I find CDO much easier to use.

Hope this helps.


--
- Nicholas Paldino [.NET/C# MVP]
- (e-mail address removed)

I have a requirement whereby I need to read the contents & attachments of
email sent to an account in exchange server 2003.
The email details (sender, attachment file names, date, etc) are to be
stored into a SQL server 2000 database and the file attachment(s) are copied
to a specified location. The application is to be written using visual
studio.net (C#). Exchange server sits on one server, my appliaction will
run as a service on another server. Can anyone give me some advice as to
the best way to go about this ?
Ive read so many articles and im not sure which way would be best (CDO,
MAPI,WEBDAV) some code samples would be great and any resources i could
read up on. Im new to this, so any help would be greatly appreciated.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top