Retrieve mail from Exchange 2000/5.5 using C#

  • Thread starter Thread starter Rob
  • Start date Start date
R

Rob

Hi all,

I have done a lot of researching on the above topic and the only think
I now know for sure is that I have to use either CDO or MAPI.

What I need to do is this: I want to write a C# desktop application
that will connect to the exchange server and retrieve mail from an
inbox. The features are as follows:
1) I need to be able to specify the URL of the server I am connecting
to
2) I need to be able to specify the inbox I want (I have different
users and they will want to connect to different mailboxes)
3) I DO NOT want to use any sort of profile (if possible)
4) I'd like it to work for exchange 5.5 and 2000

So pretty much what I want say is this
- Connection to exchange server at
http://test.environment.com/exchange
- My user name is "bob", may password is "123"
- Bob's inbox is opened (next time I may want to connect to Sue or
Mary's inbox)
- I can retrieve Bob's mail

Any ideas? Actual code would be really useful.

Thanks
 
Have you looked at WebDAV? I know it works against Exchange 2000. Not sure
about Exchange 5.5. This completely relieves you from having a client-side
control. Using WebDAV is essentially the same as using Outlook Web Access
from an application, so there are some interesting gyrations (like
simulating a form login).

I'll see if I can find the code.

--- Nick
 
Back
Top