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) 6,933 8/7/2017
1.16.2 34,067 7/1/2017
1.16.1 96,209 5/5/2017
1.16.0 28,473 4/21/2017
1.14.1 17,358 4/9/2017
1.14.0 14,854 4/9/2017
1.12.0 56,971 3/12/2017
1.10.1 66,034 1/28/2017
1.10.0 324,249 10/31/2016
1.8.0 122,244 9/25/2016
1.6.0 77,375 9/11/2016
1.4.2 152,717 8/14/2016
1.4.1 174,967 7/17/2016
1.4.0 104,081 7/1/2016
1.3.0-rc1 33,766 5/22/2016