是否有适用于 .NET 应用程序的 MAPI API?
数据以压缩文件形式通过电子邮件传入。我们编写的 Java 解决方案尝试自动解析和下载电子邮件并加载数据。我们在穿越防火墙时遇到了各种各样的问题,最终解决方案被搁置了。因为管理员不允许访问匿名类型的电子邮件箱。
该帐户当前是 pop3 – 他们想要移动电子邮件服务器并将帐户类型更改为本机 MAPI。这不适用于 java 解决方案,因为没有 java -> MAPI API 存在。
.net 解决方案可行吗?是否有适用于 .NET 应用程序的 MAPA API?
Data comes in by email as a zipped file. The Java solution we wrote tried to parse and download the email automatically and load the data. We ran into all kinds of problems getting through the firewall, and eventually the solution just got put on hold. Because the administrators wouldn’t allow access to an anonymous type of email box.
The account is currently pop3 – they want to move the email server and change the account type to native MAPI. This would not work with a java solution as no java -> MAPI API exists.
Would a .net solution would work? Is there a MAPA API for .NET applications?
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(2)
遗憾的是,您无法直接从 .NET 使用 MAPI(您可以,但 MS 不支持它)。请参阅 http://blogs.msdn.com /stephen_griffin/archive/2009/04/03/mapi-and-net.aspx
但是,有一个名为 Redemption 的 COM 组件(Google for Outlook Reemption - 还不能发布超过超链接!),您可以使用它使用 .NET 互操作作为进程外 COM 服务器。
Sadly you cannot use MAPI directly from .NET (well you can but MS don't 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 - can't post more than hyperlink yet! ) available which you can use .NET interop with as an out-of-process COM server.
我猜你可以通过COM InterOP访问mapi。
它被认为是缓慢且效果较差的。
检查 Office 的 Visual Studio 工具以获得更好的方法。
I guess you can access mapi through COM InterOP.
It is considered to be slow and less effectice.
check Visual studio tools for office for a better approach.