473,407 Members | 2,326 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,407 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 13665
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 thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

7
by: jeff | last post by:
Hi. I am trying to read addresses from an Exchange 5.5 Global Address Book from an asp.net page. When the page executes the error "Collaboration Data Objects - ]" is generated. Here is the...
2
by: M Rao | last post by:
I have xml data coming in as a stream from a web service running against exchange server.The attributes for the elements dtstart and dtend, b:dt="dateTime.tz"...
11
by: tshad | last post by:
I have a W2003 server running my website and I am trying to set up my pages to send email using System.Web.Mail. I have pages running on this machine using CDONTS that work fine. I am using...
1
by: Andrew Gomes | last post by:
Does anyone know if there is an alternative to reading Exchange 2003 public folders with WMI? I am using WMI in VB.NET to read a list of public folders on an Exchange 2003 server. My problem is...
0
by: rnaimon | last post by:
I found the following information on this site, but I am unable to get it to work. All it brings back is the xml page with no data. I am running a Windows 2003 Server with Exchange 2003 Server. ...
0
by: =?Utf-8?B?ZGJhY2g=?= | last post by:
I was getting the dreaded “Could not create CDO.Message”. Microsoft advises that CDOEX.DLL should be unregistered (This is a MS 2003 Sharepoint server that relays mail via a 2003 Exchange...
0
by: syedi20 | last post by:
Hi, I am doing a program in which I send emails from ASP.net page, the mail server used is exchange server. I am using Redemption COM so that I can send email with voting buttons, Redemption works...
4
by: John | last post by:
Hi Outlook 2003 connected with exchange server. A user is logged in to the client pc. Is it possible to programmatically get the user's email address that is set on the 'Email Addresses' tab...
0
by: =?Utf-8?B?TU9QU0M=?= | last post by:
Hi, i'm having a problem and hoping someone can give me some insight. I have Server Enterprise 2008 installed, set to a file server role with FSRM installed. I'm trying to setup where it will...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...

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.