Search Apache POI

POI-HSMF - Java API To Access Microsoft Outlook MSG Files

Overview

HSMF is the POI Project's pure Java implementation of the Outlook MSG format.

At this time, it provides low-level read access to all of the file, along with a user-facing way to get at the common textual content of MSG files. to all

There is an example MSG textual renderer, which shows how to access the common parts such as sender, subject, message body and examples. This is in the HSMF examples area of SVN. You may also wish to look at the unit tests for more use guides.

Note
This code currently lives the scratchpad area of the POI SVN repository. Ensure that you have the scratchpad jar or the scratchpad build area in your classpath before experimenting with this code.
by Nick Burch, Travis Ferguson