Samples

The mime4j distribution includes samples which demonstrate how the library could be used. This section gives you a short review of those samples. For more information you should download the distribution and study the sample sources. The samples are in in samples/ sub-directory.

Sample Description
org.apache.james.mime4j.samples.tree.MessageTree Displays a tree of the contents of a mime4j Message object in a Swing GUI. To try it out run
java org.apache.james.mime4j.samples.tree.MessageTree path/to/message.msg
The output is very useful if you want the study the structure of MIME messages.