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

Release Notes

* Fixed message reserialization after prepending headers. (issue #524)
* Added a ContentType.CharsetEncoding property. (issue #526)
* Allow empty prop-spec token values in Authentication-Results headers. (issue #527)
* Added logic to quote Authentication-Results pvalue tokens if needed.
* Added support for converting RSACng keys into BouncyCastle keys for net4x versions that support it.
* Added support for RSAES-OAEP for the BouncyCastle backend. (issue #528)
* Updated and changed the API for RSASSA-PSS. CmsSigner now has a RsaSignaturePadding property which obsoletes the previous RsaSignaturePaddingScheme property.
* Added more columns to the default SQLite database CERTIFICATES table that allow more optimal SQL searches for certificates given various matching criteria.
* Fixed WindowsSecureMimeContext.Decrypt() to make sure it doesn't stop at the first failed recipient. (issue #530)
* Fixed splitting and reassembly of message/partial messages.
* Improved handling of Office365 Authentication-Results headers by adding a Office365AuthenticationServiceIdentifier property to the AuthenticationMethodResult class.
* Fixed mailbox address parser to be more lenient about `"["` and `"]"` characters in the display-name. (issue #532)

Showing the top 10 GitHub repositories that depend on MimeKit:

Repository Stars
Store securely encrypted backups in the cloud!
A cross-platform .NET library for IMAP, POP3, and SMTP.
A .NET MIME creation and parser library with support for S/MIME, PGP, DKIM, TNEF and Unix mbox spools.
ASP.NET Core multi-tenant web application foundation with management for sites, users, roles, claims and more
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.
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#
一个基于 .NET Core构建的简单、跨平台、模块化的商城系统

Read more about the GitHub Usage information on our documentation.

Version History

Version Downloads Last updated
2.5.1 15,540 2/15/2020
2.5.0 80,745 1/18/2020
2.4.1 329,852 11/10/2019 34,492 11/5/2019
2.4.0 12,590 11/3/2019
2.3.2 128,434 10/12/2019
2.3.1 296,101 9/8/2019
2.3.0 202,910 8/24/2019
2.2.0 742,536 6/11/2019 297,242 5/13/2019
2.1.4 242,550 4/13/2019
2.1.3 505,244 2/24/2019
2.1.2 511,405 12/30/2018
2.1.1 99,769 12/16/2018
2.1.0 171,521 12/1/2018
2.0.7 128,769 10/28/2018
2.0.6 850,411 8/4/2018
2.0.5 230,494 7/7/2018
2.0.4 302,309 5/21/2018
2.0.3 286,592 4/14/2018
2.0.2 100,078 3/17/2018
2.0.1 522,126 1/6/2018
2.0.0 84,591 12/22/2017
1.22.0 258,736 11/24/2017
1.20.0 223,015 10/28/2017
1.18.1 421,323 9/3/2017
1.18.0 115,076 8/7/2017
1.16.2 326,120 7/1/2017
1.16.1 299,586 5/5/2017
1.16.0 73,083 4/21/2017
1.14.1 31,603 4/9/2017
1.14.0 81,681 4/9/2017
1.12.0 126,725 3/12/2017
1.10.1 109,552 1/28/2017
1.10.0 502,247 10/31/2016