I'm beginner to C#. Now I'm trying to develop a mail reading application that uses the MS Exchange native protocol (mapi) in C#.

I have tried using EAgetmail.dll which is available over the internet. It was working fine but now I'm trying without using third party dll.

Whether any codings are available for without using the Dll or any source code is available for your recommended dll. If you feel any possibilities to resolve my issue please share the codings or say me the website to refer. Your support will be great helpful for me.

有帮助吗?

解决方案

You could read Exchange mailbox through the EWS Interface (Exchange Web services) - it will work for exchange 2007 and greater. Please have a look at the CodeProject Article: Exchange Web Services

Another option for older Exchange servers would be to use the Collaboration Data Objects Library (CDO.DLL).

Using Collaboration Data Objects (CDO) to check for new Exchange email

Accessing the inbox through MAPI using C# .NET

其他提示

you can use the native .net System.Net.Mail to do this

check out this example on the msdn site.

http://social.msdn.microsoft.com/Forums/en-US/netfxnetcom/thread/a75533eb-131b-4ff3-a3b2-b6df87c25cc8/

许可以下: CC-BY-SA归因
不隶属于 StackOverflow
scroll top