C # MAPI to read incoming Exchange messages

I want to write a C # application that will remotely connect to the exchange server and read my mailbox! I want to use MAPI for this.

I had two questions:

  • Can this be done remotely, and are there any requirements (for example, install Outlook Outlook, etc.?)
  • I was not able to find any sample code in C # that uses MAPI to connect to the inbox?
+1
source share
3 answers

1) If I remember correctly, Outlook must be installed and the profile must be configured. (In short, you are reading Outlook data, not Exchange).

2) There are examples for this:

, MAPI/CDO .Net.

WebDAV, IMAP, POP3 WebServices. . -.

+3

. , Microsoft.Office.Interop.Outlook, . http://msdn.microsoft.com/en-us/library/ff870566.aspx

0

All Articles