MimeKit 2.4.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.4.1
dotnet add package MimeKit --version 2.4.1
<PackageReference Include="MimeKit" Version="2.4.1" />
For projects that support PackageReference, copy this XML node into the project file to reference the package.
paket add MimeKit --version 2.4.1
The NuGet Team does not provide support for this client. Please contact its maintainers for support.

Release Notes

* Don't use PublicSign on non-Windows NT machines when building. (issue #516)
* Improved BouncyCastleSecureMimeContext logic for building certificate chains so that certificate chains are included in the S/MIME signature. (issue #515)
* Improved SqlCertificateDatabase.Find() by using more IX509Selector properties.
* Relaxed the Authentication-Results header parser a bit to allow '/' in pvalue tokens. (issue #518)

Showing the top 10 GitHub repositories that depend on MimeKit:

Repository Stars
A cross-platform .NET library for IMAP, POP3, and SMTP.
Exceptionless server and jobs
A .NET MIME creation and parser library with support for S/MIME, PGP, DKIM, TNEF and Unix mbox spools.
Welcome to the Bot Framework Solutions repository which is the home for a set of templates and solutions to help build advanced conversational experiences using Azure Bot Service and Bot Framework. Microsoft Bot Framework is a comprehensive framework for building enterprise-grade conversational AI experiences.
ASP.NET Core multi-tenant web application foundation with management for sites, users, roles, claims and more
smtp4dev - the mail server for development
Scan documents to PDF and other file types, as simply as possible.
Exploring a new web architecture with React, Redux, Orleans and Dotnet Core
A SMTP Server component written in C#
DKIM Signing Agent for Microsoft Exchange Server

Version History

Version Downloads Last updated
2.4.1 53,827 11/10/2019 17,854 11/5/2019
2.4.0 7,903 11/3/2019
2.3.2 80,020 10/12/2019
2.3.1 189,067 9/8/2019
2.3.0 130,875 8/24/2019
2.2.0 546,752 6/11/2019 240,830 5/13/2019
2.1.4 205,728 4/13/2019
2.1.3 430,238 2/24/2019
2.1.2 448,272 12/30/2018
2.1.1 87,277 12/16/2018
2.1.0 160,430 12/1/2018
2.0.7 116,267 10/28/2018
2.0.6 770,892 8/4/2018
2.0.5 215,166 7/7/2018
2.0.4 283,293 5/21/2018
2.0.3 264,984 4/14/2018
2.0.2 94,661 3/17/2018
2.0.1 463,457 1/6/2018
2.0.0 80,234 12/22/2017
1.22.0 245,086 11/24/2017
1.20.0 208,046 10/28/2017
1.18.1 402,657 9/3/2017
1.18.0 112,325 8/7/2017
1.16.2 321,644 7/1/2017
1.16.1 288,099 5/5/2017
1.16.0 68,437 4/21/2017
1.14.1 29,866 4/9/2017
1.14.0 79,767 4/9/2017
1.12.0 122,953 3/12/2017
1.10.1 107,810 1/28/2017
1.10.0 492,938 10/31/2016