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

Release Notes

* Added CanSign() and CanEncrypt() methods to CryptographyContext for checking whether or not a mailbox can be used for signing or be encrypted to. (issue #325)
* Automatically register the CodePagesEncodingProvider when running on .NETStandard. (issue #330)
* Fixed MimeMessage.TextBody to return null when the top-level MIME part is a TextPart marked as an attachment.
* Fixed the HtmlToHtml converter to suppress comments if the HtmlTagContext's SuppressInnerContent property is active (even if FilterComments is false).
* Documented OpenPgpContext.GenerateKeyPair() which was added in 1.18.0.
* Added OpenPgpContext.Delete() methods to delete public and secret keyrings.
* Added OpenPgpContext.SignKey().
* Remove "Version:" header from armored OpenPGP output. (issue #319)

Version History

Version Downloads Last updated
1.18.1 (current version) 41,661 9/3/2017
1.18.0 34,186 8/7/2017
1.16.2 65,124 7/1/2017
1.16.1 126,188 5/5/2017
1.16.0 33,225 4/21/2017
1.14.1 18,392 4/9/2017
1.14.0 19,947 4/9/2017
1.12.0 64,777 3/12/2017
1.10.1 68,861 1/28/2017
1.10.0 366,154 10/31/2016
1.8.0 127,172 9/25/2016
1.6.0 77,793 9/11/2016
1.4.2 154,146 8/14/2016
1.4.1 175,796 7/17/2016
1.4.0 105,411 7/1/2016
1.3.0-rc1 34,606 5/22/2016