MimeKit 1.4.1

There is a newer version of this package available.
See the version list below for details.

Requires NuGet 2.8.6 or higher.

dotnet add package MimeKit --version 1.4.1
NuGet\Install-Package MimeKit -Version 1.4.1
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="1.4.1" />
For projects that support PackageReference, copy this XML node into the project file to reference the package.
paket add MimeKit --version 1.4.1
#r "nuget: MimeKit, 1.4.1"
#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=1.4.1

// Install MimeKit as a Cake Tool
#tool nuget:?package=MimeKit&version=1.4.1

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 are no supported framework assets in this 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 (43)

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 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-webapi-starter-kit
production grade .net 8 webapi starter kit with multitenancy support and clean code. 🔥
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
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

* Fixed QuotedPrintableDecoder to handle soft breaks that fall on a buffer boundary.
* Fixed MimeMessage.WriteTo() to properly respect the FormatOptions when writing the message headers.
* Updated TextFormat to contain a Plain value (Text is now an alias) to hopefully make its mapping to text/plain more obvious.
* Added new TextPart .ctor that takes a TextFormat argument so that developers that don't understand mime-types can more easily intuit what that argument should be.