MailKitLite 3.2.0

.NET 5.0 .NET Standard 2.0 .NET Framework 4.5.2
There is a newer version of this package available.
See the version list below for details.

Requires NuGet 2.12 or higher.

Install-Package MailKitLite -Version 3.2.0
dotnet add package MailKitLite --version 3.2.0
<PackageReference Include="MailKitLite" Version="3.2.0" />
For projects that support PackageReference, copy this XML node into the project file to reference the package.
paket add MailKitLite --version 3.2.0
The NuGet Team does not provide support for this client. Please contact its maintainers for support.
#r "nuget: MailKitLite, 3.2.0"
#r directive can be used in F# Interactive, C# scripting and .NET Interactive. Copy this into the interactive tool or source code of the script to reference the package.
// Install MailKitLite as a Cake Addin
#addin nuget:?package=MailKitLite&version=3.2.0

// Install MailKitLite as a Cake Tool
#tool nuget:?package=MailKitLite&version=3.2.0
The NuGet Team does not provide support for this client. Please contact its maintainers for support.

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 Versions
.NET net5.0 net5.0-windows net6.0 net6.0-android net6.0-ios net6.0-maccatalyst net6.0-macos net6.0-tvos net6.0-windows
.NET Core netcoreapp2.0 netcoreapp2.1 netcoreapp2.2 netcoreapp3.0 netcoreapp3.1
.NET Standard netstandard2.0 netstandard2.1
.NET Framework net452 net46 net461 net462 net463 net47 net471 net472 net48
MonoAndroid monoandroid
MonoMac monomac
MonoTouch monotouch
Tizen tizen40 tizen60
Xamarin.iOS xamarinios
Xamarin.Mac xamarinmac
Xamarin.TVOS xamarintvos
Xamarin.WatchOS xamarinwatchos
Compatible target framework(s)
Additional computed target framework(s)
Learn more about Target Frameworks and .NET Standard.

NuGet packages

This package is not used by any NuGet packages.

GitHub repositories

This package is not used by any popular GitHub repositories.

Version Downloads Last updated
3.3.0 94 6/12/2022
3.2.0 2,224 3/26/2022
3.1.1 318 1/30/2022
3.1.0 110 1/15/2022
3.0.0.2 313 12/12/2021
3.0.0.1 106 12/11/2021

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