485,211

Downloads

65,303

Downloads of v 1.4.1

468

Average downloads per day

2016-07-17

Last published

Share on Social Networks

MimeKit

1.4.1

MimeKit is an Open Source library for creating and parsing MIME, S/MIME and PGP messages on desktop and mobile platforms. It also supports parsing of Unix mbox files.

Unlike any other .NET MIME parser, MimeKit's parser does not need to parse string input nor does it use a TextReader. Instead, it parses raw byte streams, thus allowing it to better support undeclared 8bit text in headers as well as message bodies. It also means that MimeKit's parser is significantly faster than other .NET MIME parsers (more than 25x faster than OpenPOP.NET and over 100x faster than AE.Net.Mail and MailSystem.NET).

MimeKit's parser also uses a real tokenizer when parsing the headers rather than regex or string.Split() like most other .NET MIME parsers. This means that MimeKit is much more RFC-compliant than any other .NET MIME parser out there, including the commercial implementations.

In addition to having a far superior parser implementation, MimeKit's object tree is not a derivative of System.Net.Mail objects and thus does not suffer from System.Net.Mail's massive limitations or bugs.

API documentation can be found on the web at http://www.mimekit.net/docs

For those that need SMTP, POP3 or IMAP support, check out https://github.com/jstedfast/MailKit

To install MimeKit, run the following command in the Package Manager Console

Install-Package MimeKit

Requires NuGet 2.8.6 or higher.

Release Notes

* Fixed QuotedPrintableDecoder to handle soft breaks that fall on a buffer boundary.
* Fixed MimeMessage.WriteTo() to properly respect the FormatOptions when writing the message headers.
* Updated TextFormat to contain a Plain value (Text is now an alias) to hopefully make its mapping to text/plain more obvious.
* Added new TextPart .ctor that takes a TextFormat argument so that developers that don't understand mime-types can more easily intuit what that argument should be.

Owners

Authors

Jeffrey Stedfast

Copyright

Xamarin Inc.

Tags

Dependencies

Version History

Version Downloads Last updated
MimeKit 1.4.0 87,644 Friday, July 1, 2016
MimeKit 1.3.0-rc1 23,537 Sunday, May 22, 2016
MimeKit 1.2.25 87,968 Thursday, June 16, 2016
MimeKit 1.2.24 103,662 Sunday, May 22, 2016