Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

What's the best library for reading Outlook .msg files in Java? [closed]

Tags:

java

outlook

msg

I would like to read the text and binary attachments in a saved Outlook message (.msg file) from a Java application, without resorting to native code (JNI, Java Native Interface).

Apache POI-HSMF seems to be in the right direction, but it's in very early stages of development...

like image 387
muriloq Avatar asked Sep 15 '08 19:09

muriloq


People also ask

What program can I use to open MSG files?

Right-click any file with an . msg file name extension, point to Open with and then click Choose default program. In the Open with dialog box, select Always use the selected program to open this kind of file. Then, select Outlook (desktop) and then click OK.

Can you open .MSG without Outlook?

Open the MSG with a third-party application (Windows & Mac): If you don't have access to Outlook, you can use any third-party application that Google shows you. (If you're a Mac user, you'll have to do this by default because the Mac's Outlook doesn't open or export MSGs.)


1 Answers

msgparser is a small open source Java library that parses Outlook .msg files and provides their content using Java objects. msgparser uses the Apache POI - POIFS library to parse the message files which use the OLE 2 Compound Document format.

like image 70
RealHowTo Avatar answered Nov 15 '22 04:11

RealHowTo