Skip to main content
MimeKitLite package icon

MimeKitLite

MimeKit is an Open Source library for creating and parsing MIME messages. 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 limitations. 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

Total Downloads
30.5M
30,453,977
Published
Jan 26, 2025
Latest stable version

Install

.NET CLI
dotnet add package MimeKitLite --version 4.10.0
Package Manager Console
Install-Package MimeKitLite -Version 4.10.0
PackageReference
<PackageReference Include="MimeKitLite" Version="4.10.0" />

Frameworks

.NETFramework4.6.2 .NETFramework4.7 .NETFramework4.8 net8.0 .NETStandard2.0 .NETStandard2.1

Dependencies

System.Buffers
.NETFramework4.6.2
[4.6.0, )
System.Memory
.NETFramework4.6.2
[4.6.0, )
System.Buffers
.NETFramework4.7
[4.6.0, )
System.Memory
.NETFramework4.7
[4.6.0, )
System.Buffers
.NETFramework4.8
[4.6.0, )
System.Memory
.NETFramework4.8
[4.6.0, )
[8.0.0, )
System.Buffers
.NETStandard2.0
[4.6.0, )
System.Memory
.NETStandard2.0
[4.6.0, )
[8.0.0, )

Adoption guide

Assess this package against its supported frameworks, license, maintenance signals and dependency graph before making it a project standard.

Compatibility metadata lists 6 target frameworks; confirm the exact target used by your application.

How to read this guidance

Sources: published NuGet v3 registry metadata and explicit NuBrowse editorial guides. Refresh: package metadata is refreshed from NuGet when the page loads. Limit: this is not a security, legal or compatibility guarantee; validate the selected version in your project.

Useful next steps

Move from package metadata to a concrete selection or review workflow.