Who and why chooses Mime4Net?
Mime4Net is successfully marketed email parser that is being continuously improved by our specialists and customers. The biggest group of our clients are middle-size software development companies who need fully documented, ultra fast, and reliable standalone mime parser component.
It's cheaper, quicker, and more convenient to buy boxed email parser component with professional support than to develop it on your own. This rule is proven by dozens of our clients!
Order email parser now
Quick and reliable MIME parsing
Mime4Net is java to .Net port of Mime4j - one of the best Mime parsers. Mime4Net includes lightweight parser that gets the message stream in plain RFC822 and MIME format including MIME attachemnts. It operates using only basic parsing commands; that's why it parses messages very quickly. All additional operations, MIME encoding/decoding is transparentely supported by MIME Message class.
Using callback mechanism, the parser raises parsing events such as start of an entity header, start of a body, etc. In terms of callbacks API, Mime4Net interface is similar to popular SAX XML parser. You can easily get started with it.
Building MIME message tree structure
With Mime4Net, you can easily navigate MIME message structure. This component builds a tree representation of an e-mail message using the Message class. You may reference online documentation to study all its properties and methods.
Mime4Net automatically handles MIME decoding of fields and bodies and can be used to extract attachments. Like no other component it is extremely tolerant against messages violating the standards!
Compatibility and standards supporting
Mime4Net offers 100% compatibility with RFC822 (Standard for ARPA Internet Text Messages), MIME RFCs 2045-2049, RFC2822.
The Mime4Net library supports parsing of improperly formatted Mime messages as well. This is a very important feature because some email servers don't support complete RFC standards and create incorrect message structure.
Provided component was tested under all releases of Microsoft .NET framework (1.0, 1.1, and current releases of .NET 2.0, 3.0 and 3.5).
Supported encoding/decoding methods
You can use Mime4Net for transparent decoding of e-mail fields and bodies. This component includes libraries for multipart MIME encoding/decoding:
- Base64 encoding/decoding
- Quoted-Printable encoding/decoding
- Headers encoding/decoding
Component integration
Mime4Net works under .NET environment and can be easily integrated into your application. This component has similar to SAX XML parser interface that is clear, intuitive and fully documented. Its API includes convenient methods and properties that make common programming tasks possible with very little code.
Provided code of examples will help you to understand better how this library works and to integrate it shortly. Using test scripts, you can prove that your application works properly and reliably.