471,863 Members | 989 Online
Bytes | Software Development & Data Engineering Community
Post +

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 471,863 software developers and data experts.

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 13583
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
reply views Thread by YellowAndGreen | last post: by
aboka
reply views Thread by aboka | last post: by

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.