MimeKit 2.1.5.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

Requires NuGet 2.12 or higher.

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

Release Notes

* Updated the BouncyCastle assemblies to version 1.8.5 for iOS and Android.
* Fixed a possible NullReferenceException when decoding S/MIME digital signatures.
* Fixed the netstandard2.0 dependencies to no longer explicitly include System.Net.Http. (issue #482)
* Override Equals(object) and GetHashCode() for InternetAddress and InternetAddressList. (issue #481)
* Fixed TnefReader.Dispose() to avoid a potential NullReferenceException if double disposed.
* Fixed the Message-Id, Content-Id, References and In-Reply-To parsers to be more liberal in what they accept in terms of the `msg-id` token.
* Changed the Header encoding logic for the In-Reply-To header to not rfc2047 encode the value even if it is longer than the suggested line-length. (issue #479)
* Reduced netstandard dependencies. (issue #475)

Version History

Version Downloads Last updated
2.1.5.1 9,712 5/13/2019
2.1.4 48,191 4/13/2019
2.1.3 163,650 2/24/2019
2.1.2 220,146 12/30/2018
2.1.1 47,667 12/16/2018
2.1.0 114,390 12/1/2018
2.0.7 66,129 10/28/2018
2.0.6 509,343 8/4/2018
2.0.5 160,549 7/7/2018
2.0.4 218,114 5/21/2018
2.0.3 186,258 4/14/2018
2.0.2 77,041 3/17/2018
2.0.1 327,594 1/6/2018
2.0.0 65,698 12/22/2017
1.22.0 180,366 11/24/2017
1.20.0 162,151 10/28/2017
1.18.1 350,888 9/3/2017
1.18.0 98,430 8/7/2017
1.16.2 300,528 7/1/2017
1.16.1 261,381 5/5/2017
1.16.0 56,106 4/21/2017
1.14.1 22,634 4/9/2017
1.14.0 71,337 4/9/2017
1.12.0 107,889 3/12/2017
1.10.1 95,974 1/28/2017
1.10.0 454,110 10/31/2016