MimeKit 1.18.0

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.0
dotnet add package MimeKit --version 1.18.0

Release Notes

* Allow importing of known PGP keys (needed when re-importing keys after signing them). (issue #315)
* Added APIs to enumerate public and secret PGP keys.
* Added an OpenPgpDetectionFilter to detect OpenPGP blocks and their stream offsets.
* Added a MimeMessage.WriteTo() overload that takes a bool headersOnly argument.
* Pushed SecureMimeContext's EncryptionAlgorithm preferences down into CryptographyContext.
* Updated GnuPGContext to load algorithm preferences from gpg.conf.
* Fixed TemporarySecureMimeContext to use the fingerprint in the certificate lookup methods when the MailboxAddress argument is a SecureMailboxAddress. (issue #322)
* Fall back to using the Subject Alternative Rfc822 Name if the SubjectEmailAddress fails. (issue #323)

Version History

Version Downloads Last updated
1.18.0 (current version) 7,346 8/7/2017
1.16.2 34,383 7/1/2017
1.16.1 96,474 5/5/2017
1.16.0 28,508 4/21/2017
1.14.1 17,365 4/9/2017
1.14.0 14,875 4/9/2017
1.12.0 57,020 3/12/2017
1.10.1 66,059 1/28/2017
1.10.0 325,091 10/31/2016
1.8.0 122,284 9/25/2016
1.6.0 77,375 9/11/2016
1.4.2 152,727 8/14/2016
1.4.1 174,974 7/17/2016
1.4.0 104,092 7/1/2016
1.3.0-rc1 33,771 5/22/2016