By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
424,835 Members | 1,959 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 424,835 IT Pros & Developers. It's quick & easy.

Retrieve mail from Exchange 2000/5.5 using C#

P: n/a
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
Nov 16 '05 #1
Share this Question
Share on Google+
1 Reply


P: n/a
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

"Rob" <ro********@gmail.com> wrote in message
news:a7**************************@posting.google.c om...
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

Nov 16 '05 #2

This discussion thread is closed

Replies have been disabled for this discussion.