简体   繁体   English

使用Java读取Outlook Mapi属性

[英]Reading Outlook Mapi properties using Java

I wanted to read the outlook email properties using Java. 我想使用Java阅读Outlook电子邮件属性。 Is there a way to do read the outlook Mapi Properties using Java ? 有没有办法使用Java读取Outlook Mapi属性?

Thanks in Advance 提前致谢

What API are you using? 您正在使用什么API? If it is Outlook Object Model, you can use MailItem.PropertyAccessor.GetProperty : http://msdn.microsoft.com/en-us/library/bb207521(v=office.12).aspx . 如果它是Outlook对象模型,则可以使用MailItem.PropertyAccessor.GetPropertyhttp : //msdn.microsoft.com/zh-cn/library/bb207521( MailItem.PropertyAccessor.GetProperty .aspx

You tagged your question as "MAPI", but keep in mind that you cannot use Extended MAPI directly in Java, but you can use (through Jacob) a COM wrapper such as Redemption . 您已将问题标记为“ MAPI”,但请记住,您不能直接在Java中使用扩展MAPI,但可以(通过Jacob)使用COM包装器(如Redemption) Its RDO family of objects is an Extended MAPI wrapper that can be used without Outlook Object Model, both in a regular app and in a service (OOM cannot be used in a service). 它的RDO对象系列是扩展的MAPI包装器,可以在没有常规应用程序和服务中使用Outlook对象模型的情况下使用(OOM不能在服务中使用)。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM