views:

3928

answers:

2

I have the task of integrating a web application with MS Outlook Exchange account. I want to read the inbox items, send, reply and delete messages. Are there any good vb or c# examples out there?

+1  A: 

Exchange can be setup to use IMAP (though I don't think that this is on by default?)

A good tutorial for interfacing with IMAP in C# can be found here

http://www.codeproject.com/KB/IP/imaplibrary.aspx

Mez
+1  A: 

The "standard" approach to accessing Exchange would be MAPI, but you'd need to install Outlook on your server and then set up a MAPI profile for each user. You'd be better off using IMAP (if you care about folders) or POP3 (if you don't).

If you need to access anything other than email, though, you will need to either go through MAPI, or write your own implementation for either Exchange ActiveSync as used by mobile phones or WebDAV as used by Entourage.

A quick guide to WebDAV is here: http://www.msexchange.org/articles/Access-Exchange-2000-2003-Mailbox-WebDAV.html

The full spec is here: http://msdn.microsoft.com/en-us/library/cc307725(EXCHG.80).aspx

Richard Gadsden