Is there a MAPI API for .NET applications?

Data is received via e-mail as an archived file. The Java solution we wrote tried to automatically parse and download the email and download the data. We encountered all the problems that arise through the firewall, and in the end the solution was simply suspended. Because administrators would not allow access to the anonymous type of mailbox.

Currently pop3 account - they want to move the mail server and change the type of account to their own MAPI. This will not work with java solution as there is no java -> MAPI API.

Will a .net solution work? Is there a MAPA API for .NET?

+3
source share
2 answers

Unfortunately, you cannot use MAPI directly from .NET (well, you can, but MS does not support it). See http://blogs.msdn.com/stephen_griffin/archive/2009/04/03/mapi-and-net.aspx

However, there is a COM component called Redemption (google for Outlook Remption - cannot host more than a hyperlink!), Available with which you can use .NET interaction with the COM server outside the process.

+3
source

I think you can access mapi through COM InterOP. It is considered slow and less effective. Check out Visual Studio Office Tools for a better approach.

0
source

Source: https://habr.com/ru/post/1721505/


All Articles