MimeKit 3.2.0

Details
Advisory: https://github.com/advisories/GHSA-gmc6-fwg3-75m5 Severity: high

Requires NuGet 2.12 or higher.

dotnet add package MimeKit --version 3.2.0                
NuGet\Install-Package MimeKit -Version 3.2.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.2.0" />                
For projects that support PackageReference, copy this XML node into the project file to reference the package.
paket add MimeKit --version 3.2.0                
#r "nuget: MimeKit, 3.2.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.
// Install MimeKit as a Cake Addin
#addin nuget:?package=MimeKit&version=3.2.0

// Install MimeKit as a Cake Tool
#tool nuget:?package=MimeKit&version=3.2.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.

     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. 
.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 net452 is compatible.  net46 was computed.  net461 is compatible.  net462 was computed.  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 (2)

Showing the top 2 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.

MailMergeLib

A test copy of MailMergeLib. Do not use, the package will be deleted from this environment after testing. Use the package from nuget.org. MailMergeLib is an SMTP mail client library which provides comfortable mail merge capabilities for text, inline images and attachments, as well as good throughput and fault tolerance for sending mail messages.

GitHub repositories (47)

Showing the top 5 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 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 8 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.
Version Downloads Last updated
3.2.0 64 9/19/2022 3.2.0 has at least one vulnerability with high severity.
2.10.1 32,411 3/9/2021
2.3.1 0 3/8/2021
2.3.0 0 3/8/2021
2.2.0 0 3/8/2021
2.1.5.1 0 3/8/2021
2.1.5 0 3/8/2021
2.1.4 0 3/8/2021
2.1.3 0 3/8/2021
2.1.2 0 3/8/2021
2.1.1 0 3/8/2021
2.1.0 0 3/8/2021
2.0.7 0 3/8/2021
2.0.6 1 3/8/2021
2.0.5 0 3/8/2021
2.0.4 0 3/8/2021
2.0.3 0 3/8/2021
2.0.2 0 3/8/2021
2.0.1 0 3/8/2021
2.0.0 0 3/8/2021
1.22.0 0 3/8/2021
1.20.0 0 3/8/2021
1.18.1 23 3/8/2021
1.18.0 13 3/8/2021
1.16.2 23 3/8/2021
1.16.1 20 3/8/2021
1.16.0 3 3/8/2021
1.14.1 0 3/8/2021
1.14.0 0 3/8/2021
1.12.0 6 3/8/2021
1.10.1 0 3/8/2021
1.10.0 80 3/8/2021
1.8.0 14 3/8/2021
1.6.0 0 3/8/2021
1.4.2 8 3/8/2021
1.4.1 0 3/8/2021
1.4.0 0 3/8/2021
1.3.0-rc1 0 3/8/2021
1.3.0-beta7 0 3/8/2021
1.3.0-beta6 0 3/8/2021
1.3.0-beta5 0 3/8/2021
1.3.0-beta4 28 3/8/2021
1.3.0-beta3 158 12/16/2015
1.3.0-beta2 217 12/6/2015
1.3.0-beta1 110 12/5/2015
1.2.25 0 3/8/2021
1.2.24 1 3/8/2021
1.2.23 0 3/8/2021
1.2.22 1 3/8/2021
1.2.21 0 3/8/2021
1.2.20.2 0 3/8/2021
1.2.20 0 3/8/2021
1.2.19 1 3/8/2021
1.2.18 335 12/16/2015
1.2.17.3 515 12/8/2015
1.2.16 1,077 11/29/2015
1.2.15 615 11/22/2015
1.2.14 2,851 10/18/2015
1.2.13 342 10/11/2015
1.2.12 2,632 9/20/2015
1.2.11 1,279 9/6/2015
1.2.10 1,937 8/16/2015
1.2.9 489 8/8/2015
1.2.8 1,256 7/19/2015
1.2.7 1,141 7/5/2015
1.2.6 1,114 6/25/2015
1.2.5.1 216 6/22/2015
1.2.5 293 6/22/2015
1.2.4 788 6/14/2015
1.2.3 1,298 6/1/2015
1.2.2 226 5/31/2015
1.2.1 563 5/25/2015
1.2.0 236 5/24/2015
1.0.15 1,291 5/12/2015
1.0.14 399 5/9/2015
1.0.13 2,797 4/11/2015
1.0.12 1,106 3/29/2015
1.0.11 675 3/21/2015
1.0.10 780 3/14/2015
1.0.9 619 3/8/2015
1.0.8 960 3/2/2015
1.0.7 994 2/17/2015
1.0.6.1 991 1/18/2015
1.0.6 222 1/18/2015
1.0.5 468 1/10/2015
1.0.4 588 1/8/2015
1.0.3 1,415 12/13/2014
1.0.2 973 12/5/2014
1.0.1 768 11/23/2014
1.0.0 4,404 10/15/2014
0.97.0 2,894 9/14/2014

* When initializing character encodings for netstandard and net50/net60, wrap the Reflection logic to invoke System.Text.Encoding.RegisterProvider() in a try/catch to prevents exceptions when using the netstandard version of MimeKit in a .NET Framework app. (issue #751)
* Added a work-around for Office365 `message/delivery-status` parts where all status groups after the first are base64 encoded. This seems to be a bug in Office365 where it treats the first status group as MIME entity and the following status groups as the content. (issue #250)
* Fixed the MimeMessage .ctor that takes object parameters to first check that a Message-Id header was not supplied before generating one for the message. (issue #747)
* Fixed the BestEncodingFilter logic such that if any line in binary content is > 998 and it contains nul bytes, it should recommend base64 (not quoted-printable).