MailKit 3.2.0

Requires NuGet 2.12 or higher.

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

// Install MailKit as a Cake Tool
#tool nuget:?package=MailKit&version=3.2.0                

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.

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. 
.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 (1)

Showing the top 1 NuGet packages that depend on MailKit:

Package Downloads
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 (127)

Showing the top 5 popular GitHub repositories that depend on MailKit:

Repository Stars
ardalis/CleanArchitecture
Clean Architecture Solution Template: A starting point for Clean Architecture with ASP.NET Core
bitwarden/server
Bitwarden infrastructure/backend (API, database, Docker, etc).
abpframework/abp
Open-source web application framework for ASP.NET Core! Offers an opinionated architecture to build enterprise software solutions with best practices on top of the .NET. Provides the fundamental infrastructure, cross-cutting-concern implementations, startup templates, application modules, UI themes, tooling and documentation.
aspnetboilerplate/aspnetboilerplate
ASP.NET Boilerplate - Web Application Framework
duplicati/duplicati
Store securely encrypted backups in the cloud!
Version Downloads Last updated
3.2.0 64 9/19/2022
2.10.1 32,412 3/9/2021
2.3.1.6 0 3/8/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.3 0 3/8/2021
2.1.0.2 0 3/8/2021
2.1.0.1 0 3/8/2021
2.1.0 0 3/8/2021
2.0.7 1 3/8/2021
2.0.6 0 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.1 24 3/8/2021
1.18.1 1 3/8/2021
1.18.0 16 3/8/2021
1.16.2 21 3/8/2021
1.16.1 22 3/8/2021
1.16.0 3 3/8/2021
1.14.2 0 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.2 2 3/8/2021
1.10.1 43 3/8/2021
1.10.0 32 3/8/2021
1.8.1 4 3/8/2021
1.8.0 0 3/8/2021
1.6.0 0 3/8/2021
1.4.2.1 6 3/8/2021
1.4.2 1 3/8/2021
1.4.1 0 3/8/2021
1.4.0 0 3/8/2021
1.3.0-rc1-1 2 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 35 3/8/2021
1.3.0-beta3 160 12/16/2015
1.3.0-beta2 207 12/6/2015
1.3.0-beta1 124 12/5/2015
1.2.24 0 3/8/2021
1.2.23 1 3/8/2021
1.2.22 0 3/8/2021
1.2.21 1 3/8/2021
1.2.20 0 3/8/2021
1.2.19 0 3/8/2021
1.2.18 0 3/8/2021
1.2.17 0 3/8/2021
1.2.16 0 3/8/2021
1.2.15 1,093 11/29/2015
1.2.14 477 11/22/2015
1.2.13 1,898 10/18/2015
1.2.12 2,217 9/20/2015
1.2.11.1 1,025 9/8/2015
1.2.11 204 9/6/2015
1.2.10 1,545 8/16/2015
1.2.9 399 8/8/2015
1.2.8 1,016 7/19/2015
1.2.7 914 7/6/2015
1.2.6 841 6/25/2015
1.2.5 467 6/22/2015
1.2.4 697 6/14/2015
1.2.3 1,138 6/1/2015
1.2.2 213 5/31/2015
1.2.1 439 5/26/2015
1.2.0 248 5/24/2015
1.0.17 1,039 5/12/2015
1.0.16 336 5/10/2015
1.0.15 162 5/9/2015
1.0.14 2,357 4/11/2015
1.0.13 863 3/29/2015
1.0.12 522 3/21/2015
1.0.11 602 3/14/2015
1.0.10 486 3/8/2015
1.0.9 831 3/2/2015
1.0.8 718 2/19/2015
1.0.7 201 2/17/2015
1.0.6.1 805 1/18/2015
1.0.6 212 1/18/2015
1.0.5 622 1/8/2015
1.0.4 1,054 12/13/2014
1.0.3 855 12/5/2014
1.0.2 2,302 11/23/2014
1.0.1 1,771 10/27/2014
1.0.0 1,540 10/15/2014
0.98.0 2,142 9/14/2014

* Do not use ApplicationProtocols with SSL. (issue #1352)
* Updated GMail, Yahoo, and Outlook.com certificates.
* Lazy-initialize MessageSummary.Keywords. This reduces memory usage when the client isn't requesting Flags/Keywords.
* Hard-cache some IMAP FETCH-related tokens in order to relieve GC pressure for commands like FETCH where there can be a LOT of responses containing the same tokens over and over again.
* Converted some IMAP async Task methods to use ValueTask to reduce GC pressure.
* Reduced string allocations in the IMAP logic by avoiding use of ToUpperInvariant().
* Added non-async implementations for ImapStream APIs to be used by the synchronous public APIs to avoid some async overhead.
* Reduce MemoryStream (and thus byte[]) allocations by using a new ByteArrayBuilder.
* Rewrote the IMAP CAPABILITY parser to avoid allocating strings.
* Fixed some cases where IMAP NIL tokens were not compared case insensitively.
* Always include the VERSION block in NTLM messages. (issue #1340)
* Target .NET Framework v4.6.1 instead of v4.6 to match the changes in MimeKit.
* Capture the Socket timeout value in Read/WriteAsync() to have it in case of exceptions. (issue #1327)