MimeKit 2.0.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.0.1
dotnet add package MimeKit --version 2.0.1
paket add MimeKit --version 2.0.1
The NuGet Team does not provide support for this client. Please contact its maintainers for support.

Release Notes

* Improved the HTML parser logic to better handle a number of edge cases.
* MimeKit will now automatically download CRLs based on the CRL Distribution Point certificate extension if any HTTP URLs are defined (LDAP and FTP are not yet supported) when verifying S/MIME digital signatures using a derivative of the BouncyCastleSecureMimeContext backend (the WindowsSecureMimeContext gets this for free from System.Security's CMS implementation).
* Fixed OpenPgpContext.RetrievePublicKeyRingAsync() to use the filtered stream.
* Added support for using the Blowfish encryption algorithm with S/MIME (only supported in the BouncyCastle backends).
* Added support for using the SEED encryption algorithm with S/MIME (also only supported in the BouncyCastle backends).
* Added an optional 'algorithm' argument to OpenPgpContext.GenerateKeyPair() to allow specifying the symmetric key algorithm to use in generating the key pair. This defaults to AES-256, which is the same value used in older versions of MimeKit.

Version History

Version Downloads Last updated
2.0.1 (current version) 32,561 1/6/2018
2.0.0 13,274 12/22/2017
1.22.0 53,897 11/24/2017
1.20.0 48,607 10/28/2017
1.18.1 131,592 9/3/2017
1.18.0 57,878 8/7/2017
1.16.2 105,390 7/1/2017
1.16.1 162,778 5/5/2017
1.16.0 39,285 4/21/2017
1.14.1 20,354 4/9/2017
1.14.0 47,692 4/9/2017
1.12.0 73,973 3/12/2017
1.10.1 75,080 1/28/2017
1.10.0 400,879 10/31/2016