469,623 Members | 1,304 Online
Bytes | Developer Community
New Post

Home Posts Topics Members FAQ

Post your question to a community of 469,623 developers. It's quick & easy.

reading email from exchange server 2003

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.

--------------------------------
From: mark wheeler

-----------------------
Posted by a user from .NET 247 (http://www.dotnet247.com/)

<Id>CXQet0lrFUCwqS9oc4FlrQ==</Id>
Nov 16 '05 #1
2 13520
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]
- mv*@spam.guard.caspershouse.com

"mark wheeler via .NET 247" <an*******@dotnet247.com> wrote in message
news:Oz**************@TK2MSFTNGP11.phx.gbl...
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.

--------------------------------
From: mark wheeler

-----------------------
Posted by a user from .NET 247 (http://www.dotnet247.com/)

<Id>CXQet0lrFUCwqS9oc4FlrQ==</Id>
Nov 16 '05 #2
Hi Mark

If you know Extended MAPI so you can use MAPI33 library.
www.mapi33.freeservers.com
mark wheeler via .NET 247 <an*******@dotnet247.com> wrote in message news:<Oz**************@TK2MSFTNGP11.phx.gbl>...
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.

--------------------------------
From: mark wheeler

-----------------------
Posted by a user from .NET 247 (http://www.dotnet247.com/)

<Id>CXQet0lrFUCwqS9oc4FlrQ==</Id>

Nov 16 '05 #3

This discussion thread is closed

Replies have been disabled for this discussion.

Similar topics

11 posts views Thread by tshad | last post: by
reply views Thread by =?Utf-8?B?ZGJhY2g=?= | last post: by
reply views Thread by =?Utf-8?B?TU9QU0M=?= | last post: by
By using this site, you agree to our Privacy Policy and Terms of Use.