1 mime4j provides a parser, MimeStreamParser, for e-mail message streams
2 in plain rfc822 and MIME format. The parser uses a callback mechanism to
3 report parsing events such as the start of an entity header, the start
4 of a body, etc. If you are familiar with the SAX XML parser interface
5 you should have no problem getting started with mime4j.
7 The parser only deals with the structure of the message stream. It won't
8 do any decoding of base64 or quoted-printable encoded header fields and
11 The parser has been designed to be extremely tolerant against messages
12 violating the standards.
14 mime4j can also be used to build a tree representation of an e-mail
15 message using the Message class. Using this facility mime4j
16 automatically handles the decoding of fields and bodies and uses
17 temporary files for large attachments.
19 WWW: http://james.apache.org/mime4j/