MimeKit 2.1.4

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

Requires NuGet 2.12 or higher.

Install-Package MimeKit -Version 2.1.4
dotnet add package MimeKit --version 2.1.4
<PackageReference Include="MimeKit" Version="2.1.4" />
For projects that support PackageReference, copy this XML node into the project file to reference the package.
paket add MimeKit --version 2.1.4
The NuGet Team does not provide support for this client. Please contact its maintainers for support.

Release Notes

* Added a setter for FormatOptions.MaxLineLength, allowing developers to override this value.
* Improved TNEF handling of Content-Disposition and Content-Id properties. (issue #470 and issue #471)
* Improved Content-Id parser to be more forgiving with improperly formatted IDs. (issue #472)
* Added support for the text/rfc822-headers MIME-type via the new TextRfc822Headers class. (issue #474)
* Added fallback logic for international email addresses that are not properly encoded in UTF-8. (issue #477)

Version History

Version Downloads Last updated
2.1.4 7,374 4/13/2019
2.1.3 110,421 2/24/2019
2.1.2 183,385 12/30/2018
2.1.1 41,145 12/16/2018
2.1.0 105,342 12/1/2018
2.0.7 60,178 10/28/2018
2.0.6 466,020 8/4/2018
2.0.5 151,661 7/7/2018
2.0.4 208,349 5/21/2018
2.0.3 175,226 4/14/2018
2.0.2 74,365 3/17/2018
2.0.1 311,493 1/6/2018
2.0.0 64,107 12/22/2017
1.22.0 175,409 11/24/2017
1.20.0 156,154 10/28/2017
1.18.1 343,515 9/3/2017
1.18.0 96,916 8/7/2017
1.16.2 297,916 7/1/2017
1.16.1 258,278 5/5/2017
1.16.0 55,057 4/21/2017
1.14.1 22,452 4/9/2017
1.14.0 70,913 4/9/2017
1.12.0 105,792 3/12/2017
1.10.1 94,535 1/28/2017
1.10.0 450,775 10/31/2016