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

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

Release Notes

* Added IDkimPublicKeyLocator.LookupPublicKeyAsync() and MimeMessage.VerifyAsync() to support asynchronous DNS lookups of DKIM public keys.
* Fixed tokenization of unquoted HTML attributes containing entities.
* Vastly improved the WindowsSecureMimeContext to do everything using System.Security instead of a mix of System.Security and Bouncy Castle.
* Refactored SecureMimeContext into a base SecureMimeContext and a BouncyCastleSecureMimeContext that contained all of the Bouncy Castle-specific logic.
* Added useful extension methods to facilitate conversion between System.Security and Bouncy Castle crypto types (such as X509Certificates and AsymmetricAlgorithms).
* Renamed the IContentObject interface to IMimeContent.
* Renamed the ContentObject class to MimeContent.
* Renamed the MimePart.ContentObject property to MimePart.Content.
* Dropped support for .NET 3.5 and .NET 4.0.

Showing the top 10 GitHub repositories that depend on MimeKit:

Repository Stars
duplicati/duplicati
Store securely encrypted backups in the cloud!
jstedfast/MailKit
A cross-platform .NET library for IMAP, POP3, and SMTP.
exceptionless/Exceptionless
Exceptionless server and jobs
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
microsoft/botframework-solutions
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.
rnwood/smtp4dev
smtp4dev - the mail server for development
cyanfish/naps2
Scan documents to PDF and other file types, as simply as possible.
Maarten88/rrod
Exploring a new web architecture with React, Redux, Orleans and Dotnet Core
cosullivan/SmtpServer
A SMTP Server component written in C#

Version History

Version Downloads Last updated
2.3.1 19,117 9/8/2019
2.3.0 44,138 8/24/2019
2.2.0 300,901 6/11/2019
2.1.5.1 167,543 5/13/2019
2.1.4 157,812 4/13/2019
2.1.3 340,166 2/24/2019
2.1.2 364,235 12/30/2018
2.1.1 73,542 12/16/2018
2.1.0 144,837 12/1/2018
2.0.7 94,564 10/28/2018
2.0.6 678,886 8/4/2018
2.0.5 197,044 7/7/2018
2.0.4 260,576 5/21/2018
2.0.3 233,196 4/14/2018
2.0.2 88,519 3/17/2018
2.0.1 407,465 1/6/2018
2.0.0 75,825 12/22/2017
1.22.0 217,087 11/24/2017
1.20.0 191,587 10/28/2017
1.18.1 386,015 9/3/2017
1.18.0 108,599 8/7/2017
1.16.2 316,263 7/1/2017
1.16.1 278,315 5/5/2017
1.16.0 64,485 4/21/2017
1.14.1 28,240 4/9/2017
1.14.0 77,983 4/9/2017
1.12.0 119,097 3/12/2017
1.10.1 106,211 1/28/2017
1.10.0 479,378 10/31/2016
Show less