mime4j

mime4j project provides a parser, MimeStreamParser , for e-mail message streams in plain rfc822 and MIME format.
Download

mime4j Ranking & Summary

Advertisement

  • Rating:
  • License:
  • The Apache License 2.0
  • Price:
  • FREE
  • Publisher Name:
  • The Apache Software Foundation
  • Publisher web site:
  • http://httpd.apache.org/apreq/

mime4j Tags


mime4j Description

mime4j project provides a parser, MimeStreamParser , for e-mail message streams in plain rfc822 and MIME format. mime4j project provides a parser, MimeStreamParser , for e-mail message streams in plain rfc822 and MIME format. The parser uses a callback mechanism to report parsing events such as the start of an entity header, the start of a body, etc. If you are familiar with the SAX XML parser interface you should have no problem getting started with mime4j.The parser only deals with the structure of the message stream. It won't do any decoding of base64 or quoted-printable encoded header fields and bodies. This is intentional - the parser should only provide the most basic functionality needed to build more complex parsers. However, mime4j does include facilities to decode bodies and fields and the Message class described below handles decoding of fields and bodies transparently.The parser has been designed to be extremely tolerant against messages violating the standards. It has been tested using a large corpus (>5000) of e-mail messages. As a benchmark the widely used perl MIME::Tools parser has been used. mime4j and MIME:Tools rarely differ ( What's New in This Release: · This release brings a number of significant improvements in terms of supported capabilities, flexibility, and performance. · It has a revised and improved public API, support for parsing of 'headless' messages transmitted using non-SMTP transports such as HTTP, reduced external dependencies, improved parsing performance (up to 10x), support for RFC1864, RFC2045, RFC2183, RFC2557, and RFC3066, and a revised packaging and exception hierarchy.


mime4j Related Software