MimeKit 3.3.0

Prefix Reserved
Details
Advisory: https://github.com/advisories/GHSA-gmc6-fwg3-75m5 Severity: high
There is a newer version of this package available.
See the version list below for details.

Requires NuGet 2.12 or higher.

dotnet add package MimeKit --version 3.3.0
                    
NuGet\Install-Package MimeKit -Version 3.3.0
                    
This command is intended to be used within the Package Manager Console in Visual Studio, as it uses the NuGet module's version of Install-Package.
<PackageReference Include="MimeKit" Version="3.3.0" />
                    
For projects that support PackageReference, copy this XML node into the project file to reference the package.
<PackageVersion Include="MimeKit" Version="3.3.0" />
                    
Directory.Packages.props
<PackageReference Include="MimeKit" />
                    
Project file
For projects that support Central Package Management (CPM), copy this XML node into the solution Directory.Packages.props file to version the package.
paket add MimeKit --version 3.3.0
                    
#r "nuget: MimeKit, 3.3.0"
                    
#r directive can be used in F# Interactive and Polyglot Notebooks. Copy this into the interactive tool or source code of the script to reference the package.
#addin nuget:?package=MimeKit&version=3.3.0
                    
Install MimeKit as a Cake Addin
#tool nuget:?package=MimeKit&version=3.3.0
                    
Install MimeKit as a Cake Tool

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 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

Product Compatible and additional computed target framework versions.
.NET net5.0 is compatible.  net5.0-windows was computed.  net6.0 is compatible.  net6.0-android was computed.  net6.0-ios was computed.  net6.0-maccatalyst was computed.  net6.0-macos was computed.  net6.0-tvos was computed.  net6.0-windows was computed.  net7.0 was computed.  net7.0-android was computed.  net7.0-ios was computed.  net7.0-maccatalyst was computed.  net7.0-macos was computed.  net7.0-tvos was computed.  net7.0-windows was computed.  net8.0 was computed.  net8.0-android was computed.  net8.0-browser was computed.  net8.0-ios was computed.  net8.0-maccatalyst was computed.  net8.0-macos was computed.  net8.0-tvos was computed.  net8.0-windows was computed.  net9.0 was computed.  net9.0-android was computed.  net9.0-browser was computed.  net9.0-ios was computed.  net9.0-maccatalyst was computed.  net9.0-macos was computed.  net9.0-tvos was computed.  net9.0-windows was computed.  net10.0 was computed.  net10.0-android was computed.  net10.0-browser was computed.  net10.0-ios was computed.  net10.0-maccatalyst was computed.  net10.0-macos was computed.  net10.0-tvos was computed.  net10.0-windows was computed. 
.NET Core netcoreapp2.0 was computed.  netcoreapp2.1 was computed.  netcoreapp2.2 was computed.  netcoreapp3.0 was computed.  netcoreapp3.1 was computed. 
.NET Standard netstandard2.0 is compatible.  netstandard2.1 is compatible. 
.NET Framework net461 was computed.  net462 is compatible.  net463 was computed.  net47 is compatible.  net471 was computed.  net472 was computed.  net48 is compatible.  net481 was computed. 
MonoAndroid monoandroid was computed. 
MonoMac monomac was computed. 
MonoTouch monotouch was computed. 
Tizen tizen40 was computed.  tizen60 was computed. 
Xamarin.iOS xamarinios was computed. 
Xamarin.Mac xamarinmac was computed. 
Xamarin.TVOS xamarintvos was computed. 
Xamarin.WatchOS xamarinwatchos was computed. 
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.

NuGet packages (338)

Showing the top 5 NuGet packages that depend on MimeKit:

Package Downloads
MailKit

MailKit is an Open Source cross-platform .NET mail-client library that is based on MimeKit and optimized for mobile devices. Features include: * HTTP, Socks4, Socks4a and Socks5 proxy support. * SASL Authentication via ANONYMOUS, CRAM-MD5, DIGEST-MD5, LOGIN, NTLM, OAUTHBEARER, PLAIN, SCRAM-SHA-1, SCRAM-SHA-256, SCRAM-SHA-512 and XOAUTH2. * A fully-cancellable SmtpClient with support for STARTTLS, 8BITMIME, BINARYMIME, ENHANCEDSTATUSCODES, SIZE, DSN, PIPELINING and SMTPUTF8. * A fully-cancellable Pop3Client with support for STLS, UIDL, APOP, PIPELINING, UTF8, and LANG. * A fully-cancellable ImapClient with support for ACL, QUOTA, LITERAL+, IDLE, NAMESPACE, ID, CHILDREN, LOGINDISABLED, STARTTLS, MULTIAPPEND, UNSELECT, UIDPLUS, CONDSTORE, ESEARCH, SASL-IR, COMPRESS, WITHIN, ENABLE, QRESYNC, SORT, THREAD, ANNOTATE, LIST-EXTENDED, ESORT, METADATA / METADATA-SERVER, NOTIFY, FILTERS, LIST-STATUS, SORT=DISPLAY, SPECIAL-USE / CREATE-SPECIAL-USE, SEARCH=FUZZY, MOVE, UTF8=ACCEPT / UTF8=ONLY, LITERAL-, APPENDLIMIT, STATUS=SIZE, OBJECTID, REPLACE, SAVEDATE, XLIST, and X-GM-EXT1. * Client-side sorting and threading of messages (the Ordinal Subject and the Jamie Zawinski threading algorithms are supported). * Asynchronous versions of all methods that hit the network. * S/MIME, OpenPGP, DKIM and ARC support via MimeKit. * Microsoft TNEF support via MimeKit.

netDumbster

netDumbster is a .Net Fake SMTP Server clone of the popular Dumbster (http://quintanasoft.com/dumbster/) netDumbster is based on the API of nDumbster (http://ndumbster.sourceforge.net/default.html) and the nice C# Email Server (CSES) written by Eric Daugherty.

MsgKit

MsgKit is a 100% managed C# .NET library (no PINVOKE or whatsoever) which may be used for the creation of messages (E-Mail, Appointments, Journals and Stickey Notes) that are Outlook compatible

OrchardCore.Infrastructure

Orchard Core CMS is a Web Content Management System (CMS) built on top of the Orchard Core Framework. Implementation for OrchardCoreCMS Infrastructure

OElite.Common

Package Description

GitHub repositories (54)

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

Repository Stars
duplicati/duplicati
Store securely encrypted backups in the cloud!
dodyg/practical-aspnetcore
Practical samples of ASP.NET Core 10 Preview 4, 9, 8.0, 7.0, 6.0, 5.0, 3.1, 2.2, and 2.1,projects you can use. Readme contains explanations on all projects.
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 framework.
fullstackhero/dotnet-starter-kit
Production Grade Cloud-Ready .NET 9 Starter Kit (Web API + Blazor Client) with Multitenancy Support, and Clean/Modular Architecture that saves roughly 200+ Development Hours! All Batteries Included.
fullstackhero/blazor-starter-kit
Clean Architecture Template for Blazor WebAssembly Built with MudBlazor Components.
rnwood/smtp4dev
smtp4dev - the fake smtp email server for development and testing
Megabit/Blazorise
Blazorise is a component library built on top of Blazor with support for CSS frameworks like Bootstrap, Tailwind, Bulma, AntDesign, and Material.
ChangemakerStudios/Papercut-SMTP
Papercut SMTP -- The Simple Desktop Email Server
OrchardCMS/Orchard
Orchard is a free, open source, community-focused Content Management System built on the ASP.NET MVC platform.
iammukeshm/CleanArchitecture.WebApi
An implementation of Clean Architecture for ASP.NET Core 3.1 WebAPI. Built with loosely coupled architecture and clean-code practices in mind.
cloudscribe/cloudscribe
ASP.NET Core multi-tenant web application foundation with management for sites, users, roles, claims and more
saucepleez/taskt
taskt (pronounced 'tasked' and formely sharpRPA) is free and open-source robotic process automation (rpa) built in C# powered by the .NET Framework
bkaankose/Wino-Mail
Built-in Mail & Calendars app clone for Windows.
go2ismail/Asp.Net-Core-Inventory-Order-Management-System
Now upgraded to .NET 9, this project is a super-fast, completely headless API powered by Clean Architecture, CQRS, and MediatR. It includes an ASP.NET Core Razor Pages implementation for inventory order management, combined with Vue.js for a dynamic, responsive UI. Powerful WMS solution. Demo (username:admin@root.com / pwd:123456)
dnnsoftware/Dnn.Platform
DNN (formerly DotNetNuke) is the leading open source web content management platform (CMS) in the Microsoft ecosystem.
xianhc/ApeVolo.Admin
.Net 8 、SqlSugar ORM、Vue 2.X、RBAC。前后端分离的开箱则用的企业级的权限开发框架(中后台管理系统)
polterguy/magic
An AI-based Low-Code and No-Code software development automation framework
trueai-org/module-shop
一个基于 .NET 8.0 构建的简单、跨平台、模块化的商城系统
lanedirt/AliasVault
A self-hostable, end-to-end encrypted password manager with a built-in alias generator and email server.
Amitpnk/Onion-architecture-ASP.NET-Core
WhiteApp API solution template which is built on Onion Architecture with all essential feature using .NET 8!
Version Downloads Last updated
4.12.0 511,062 4/29/2025
4.11.0 1,656,230 3/8/2025
4.10.0 2,029,276 1/26/2025
4.9.0 2,111,053 12/9/2024
4.8.0 6,528,032 9/29/2024
4.7.1 8,824,324 7/11/2024
4.7.0 602,162 6/29/2024 4.7.0 has at least one vulnerability with high severity.
4.6.0 3,120,806 5/17/2024 4.6.0 has at least one vulnerability with high severity.
4.5.0 1,900,084 4/13/2024 4.5.0 has at least one vulnerability with high severity.
4.4.0 2,792,157 3/2/2024 4.4.0 has at least one vulnerability with high severity.
4.3.0 7,924,873 11/11/2023 4.3.0 has at least one vulnerability with high severity.
4.2.0 3,710,954 9/2/2023 4.2.0 has at least one vulnerability with high severity.
4.1.0 4,749,401 6/17/2023 4.1.0 has at least one vulnerability with high severity.
4.0.0 3,581,215 4/15/2023 4.0.0 has at least one vulnerability with high severity.
3.6.1 1,084,758 3/19/2023 3.6.1 has at least one vulnerability with high severity.
3.6.0 2,735,146 3/4/2023 3.6.0 has at least one vulnerability with high severity.
3.5.0 2,912,568 1/28/2023 3.5.0 has at least one vulnerability with high severity.
3.4.3 4,474,268 11/25/2022 3.4.3 has at least one vulnerability with high severity.
3.4.2 2,808,458 10/24/2022 3.4.2 has at least one vulnerability with high severity.
3.4.1 2,540,639 9/12/2022 3.4.1 has at least one vulnerability with high severity.
3.4.0 744,762 8/18/2022 3.4.0 has at least one vulnerability with high severity.
3.3.0 6,399,609 6/11/2022 3.3.0 has at least one vulnerability with high severity.
3.2.0 12,097,320 3/26/2022 3.2.0 has at least one vulnerability with high severity.
3.1.1 4,928,594 1/30/2022 3.1.1 has at least one vulnerability with high severity.
3.1.0 992,319 1/15/2022 3.1.0 has at least one vulnerability with high severity.
3.0.0 3,786,746 12/11/2021 3.0.0 has at least one vulnerability with high severity.
2.15.1 4,446,473 9/13/2021
2.15.0 12,050,862 8/19/2021
2.14.0 1,079,856 7/28/2021
2.13.0 3,327,047 6/12/2021
2.12.0 1,814,639 5/12/2021
2.11.0 3,247,271 3/12/2021
2.10.1 7,355,960 12/5/2020
2.10.0 3,256,420 11/21/2020
2.9.2 3,990,300 9/12/2020
2.9.1 3,942,468 7/11/2020
2.8.0 6,130,785 5/30/2020
2.7.0 320,795 5/19/2020
2.6.0 8,966,700 4/4/2020
2.5.2 1,509,026 3/14/2020
2.5.1 2,029,326 2/15/2020
2.5.0 1,472,271 1/18/2020
2.4.1 2,698,272 11/10/2019
2.4.0.1 217,223 11/5/2019
2.4.0 70,951 11/3/2019
2.3.2 599,213 10/12/2019
2.3.1 1,452,876 9/8/2019
2.3.0 772,324 8/24/2019
2.2.0 2,749,530 6/11/2019
2.1.5.1 1,525,637 5/13/2019
2.1.4 908,577 4/13/2019
2.1.3 1,492,967 2/24/2019
2.1.2 1,627,725 12/30/2018
2.1.1 230,047 12/16/2018
2.1.0 608,517 12/1/2018
2.0.7 730,259 10/28/2018
2.0.6 3,953,709 8/4/2018
2.0.5 752,268 7/7/2018
2.0.4 768,880 5/21/2018
2.0.3 788,069 4/14/2018
2.0.2 245,737 3/17/2018
2.0.1 1,915,989 1/6/2018
2.0.0 270,593 12/22/2017
1.22.0 1,026,654 11/24/2017
1.20.0 393,699 10/28/2017
1.18.1 842,252 9/3/2017
1.18.0 241,331 8/7/2017
1.16.2 545,776 7/1/2017
1.16.1 816,742 5/5/2017
1.16.0 134,679 4/21/2017
1.14.1 57,856 4/9/2017
1.14.0 200,456 4/9/2017
1.12.0 301,724 3/12/2017
1.10.1 244,411 1/28/2017
1.10.0 704,444 10/31/2016

* Added Import() methods for X509Certificate2 for all S/MIME contexts. (issue #784)
* Handle S/MIME sha# as well as sha-# micalg names for improved interop. (issue #790)
* Fixed the MemoryBlockStream.Read() method to handle cases where the length of the stream is longer than int.MaxValue.
* Fixed TnefPart.ConvertToMessage() to promote lone multipart/mixed subparts to become the message body much like it used to work pre-v3.2.0. (issue #789)
* Reduced memory usage when using SecureMimeContext.Compress() and CompressAsync().
* Dropped support for net452 and net461 now that their life cycles have ended and are no longer supported by Microsoft. (issue #768)
* Added support for net462.

Special thanks to Fedir Klymenko for his improvements to MemoryBlockStream and SecureMimeContext.Compress!