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

     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

There is a newer version of this package available.
See the version list below for details.

Requires NuGet 2.12 or higher.

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

Release Notes

* Fixed InternetAddressList.Insert() to allow inserting at the end of the list. (issue #559)
* Added ParserOptions.MaxMimeDepth to allow developers to set the max nesting depth allowed by the parser.
* Added logic to handle multipart children without any headers or content.
* Added a new Verify(bool verifySignatureOnly) method to IDigitalSignature for developers who just want to be able to verify the signature without worrying about the certificate chain.
* Fixed MimePart.WriteTo() to avoid canonicalizing line endings for MimeParts that do not define a Content-Transfer-Encoding. (issue #569)
* NuGet packages now include the portable pdb's.

GitHub repositories (17)

Showing the top 5 popular GitHub repositories that depend on MimeKit:

Repository Stars
duplicati/duplicati
Store securely encrypted backups in the cloud!
OrchardCMS/OrchardCore
Orchard Core is an open-source modular and multi-tenant application framework built with ASP.NET Core, and a content management system (CMS) built on top of that application framework.
aelassas/Wexflow
An easy and fast way to build automation and workflows on Windows, Linux, macOS, and the cloud.
jstedfast/MimeKit
A .NET MIME creation and parser library with support for S/MIME, PGP, DKIM, TNEF and Unix mbox spools.
cloudscribe/cloudscribe
ASP.NET Core multi-tenant web application foundation with management for sites, users, roles, claims and more

Version History

Version Downloads Last updated
2.8.0 120,113 5/30/2020
2.7.0 34,999 5/19/2020
2.6.0 424,109 4/4/2020
2.5.2 189,237 3/14/2020
2.5.1 314,387 2/15/2020
2.5.0 287,903 1/18/2020
2.4.1 652,175 11/10/2019
2.4.0.1 63,620 11/5/2019
2.4.0 16,084 11/3/2019
2.3.2 182,333 10/12/2019
2.3.1 453,432 9/8/2019
2.3.0 311,899 8/24/2019
2.2.0 993,456 6/11/2019
2.1.5.1 404,854 5/13/2019
2.1.4 317,206 4/13/2019
2.1.3 615,606 2/24/2019
2.1.2 620,484 12/30/2018
2.1.1 116,193 12/16/2018
2.1.0 190,276 12/1/2018
2.0.7 161,575 10/28/2018
2.0.6 1,005,488 8/4/2018
2.0.5 260,944 7/7/2018
2.0.4 337,614 5/21/2018
2.0.3 314,988 4/14/2018
2.0.2 110,109 3/17/2018
2.0.1 674,137 1/6/2018
2.0.0 93,318 12/22/2017
1.22.0 283,696 11/24/2017
1.20.0 243,247 10/28/2017
1.18.1 452,686 9/3/2017
1.18.0 122,839 8/7/2017
1.16.2 337,558 7/1/2017
1.16.1 325,702 5/5/2017
1.16.0 80,598 4/21/2017
1.14.1 34,427 4/9/2017
1.14.0 84,966 4/9/2017
1.12.0 142,787 3/12/2017
1.10.1 115,534 1/28/2017
1.10.0 517,519 10/31/2016