开发者

Read mail from Microsoft Exchange Server with attachment

开发者 https://www.devze.com 2023-02-24 05:33 出处:网络
I need to read mail with attachment from my company\'s mail server. Its a Microsoft Exchange Server. I also haveto save the attachment(its a text attachment).

I need to read mail with attachment from my company's mail server. Its a Microsoft Exchange Server. I also have to save the attachment(its a text attachment).

I am working with java. So I am expecting a java code or API for this. But if no reliable java source is available then I am ready to work with C#.net equipment.

I am trying with MAPI33 dll from Download location for MAPI33.dll?. But still unable to read mail.

If there are a开发者_如何学编程ny better solution, please share.


You can use the RDO part of Outlook Redemption. It is a COM library that wraps MAPI and that is really good. You can use JACOB (Java COM bridge) to do the COM magic. Just remember that MAPI for Exchange only comes in 32 bit, so your will need to run from a 32 bit JVM. JACOB is open source while Outlook Redemption have a developer version that you can try out first.

In Exchange 2007 and 2010 you will also need to install the MAPI & CDO distributable because Exchange MAPI is no longer shipped with exchange.

0

精彩评论

暂无评论...
验证码 换一张
取 消

关注公众号