MailKit 2.0.7
See the version list below for details.
Requires NuGet 2.12 or higher.
dotnet add package MailKit --version 2.0.7
NuGet\Install-Package MailKit -Version 2.0.7
<PackageReference Include="MailKit" Version="2.0.7" />
<PackageVersion Include="MailKit" Version="2.0.7" />
<PackageReference Include="MailKit" />
paket add MailKit --version 2.0.7
#r "nuget: MailKit, 2.0.7"
#:package MailKit@2.0.7
#addin nuget:?package=MailKit&version=2.0.7
#tool nuget:?package=MailKit&version=2.0.7
MailKit is an Open Source cross-platform .NET mail-client library that is based on MimeKit and optimized for mobile devices.
Features include:
* SASL Authentication via SCRAM-SHA-256, SCRAM-SHA-1, NTLM, DIGEST-MD5, CRAM-MD5, LOGIN, PLAIN, 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, ESORT, METADATA, FILTERS, LIST-STATUS, SORT=DISPLAY, SPECIAL-USE, CREATE-SPECIAL-USE, MOVE, SEARCH=FUZZY, UTF8=ACCEPT, UTF8=ONLY, LITERAL-, APPENDLIMIT, 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 and DKIM signature support via MimeKit.
* Microsoft TNEF support via MimeKit.
Learn more about Target Frameworks and .NET Standard.
-
.NETFramework 4.5
- BouncyCastle (>= 1.8.2)
- MimeKit (>= 2.0.6)
-
.NETStandard 1.3
- MimeKit (>= 2.0.6)
- NETStandard.Library (>= 1.6.1)
- Portable.BouncyCastle (>= 1.8.2)
- System.Data.Common (>= 4.3.0)
- System.Globalization.Extensions (>= 4.3.0)
- System.Net.Http (>= 4.3.0)
- System.Net.NameResolution (>= 4.3.0)
- System.Net.NetworkInformation (>= 4.3.0)
- System.Net.Security (>= 4.3.0)
- System.Reflection.TypeExtensions (>= 4.3.0)
- System.Runtime.Serialization.Primitives (>= 4.3.0)
- System.Text.Encoding.CodePages (>= 4.3.0)
-
.NETStandard 1.6
- MimeKit (>= 2.0.6)
- NETStandard.Library (>= 1.6.1)
- Portable.BouncyCastle (>= 1.8.2)
- System.Data.Common (>= 4.3.0)
- System.Globalization.Extensions (>= 4.3.0)
- System.Net.Http (>= 4.3.0)
- System.Net.NameResolution (>= 4.3.0)
- System.Net.NetworkInformation (>= 4.3.0)
- System.Net.Security (>= 4.3.0)
- System.Reflection.TypeExtensions (>= 4.3.0)
- System.Runtime.Serialization.Primitives (>= 4.3.0)
- System.Text.Encoding.CodePages (>= 4.3.0)
-
.NETStandard 2.0
- MimeKit (>= 2.0.6)
- NETStandard.Library (>= 1.6.1)
- Portable.BouncyCastle (>= 1.8.2)
- System.Data.Common (>= 4.3.0)
- System.Globalization.Extensions (>= 4.3.0)
- System.Net.Http (>= 4.3.0)
- System.Net.NameResolution (>= 4.3.0)
- System.Net.NetworkInformation (>= 4.3.0)
- System.Net.Security (>= 4.3.0)
- System.Reflection.TypeExtensions (>= 4.3.0)
- System.Runtime.Serialization.Primitives (>= 4.3.0)
- System.Text.Encoding.CodePages (>= 4.3.0)
-
MonoAndroid 0.0
- MimeKit (>= 2.0.6)
-
Portable Class Library (Windows 8.1, WindowsPhoneApp 8.1)
- MimeKit (>= 2.0.6)
- Portable.BouncyCastle (>= 1.8.2)
-
Xamarin.iOS 0.0
- MimeKit (>= 2.0.6)
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 (141)
Showing the top 20 popular GitHub repositories that depend on MailKit:
Repository | Stars |
---|---|
ardalis/CleanArchitecture
Clean Architecture Solution Template: A proven Clean Architecture Template for ASP.NET Core 9
|
|
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.
|
|
duplicati/duplicati
Store securely encrypted backups in the cloud!
|
|
Sonarr/Sonarr
Smart PVR for newsgroup and bittorrent users.
|
|
Radarr/Radarr
Movie organizer/manager for usenet and torrent users.
|
|
aspnetboilerplate/aspnetboilerplate
ASP.NET Boilerplate - Web Application Framework
|
|
dodyg/practical-aspnetcore
Practical samples of ASP.NET Core 10 RC 1, 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.
|
|
nopSolutions/nopCommerce
ASP.NET Core eCommerce software. nopCommerce is a free and open-source shopping cart.
|
|
Kareadita/Kavita
Kavita is a fast, feature rich, cross platform reading server. Built with the goal of being a full solution for all your reading needs. Setup your own server and share your reading collection with your friends and family.
|
|
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.
|
|
btcpayserver/btcpayserver
Accept Bitcoin payments. Free, open-source & self-hosted, Bitcoin payment processor.
|
|
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.
|
|
win-acme/win-acme
A simple ACME client for Windows (for use with Let's Encrypt et al.)
|
|
Prowlarr/Prowlarr
Prowlarr is an indexer manager/proxy built on the popular *arr .net/reactjs base stack to integrate with your various PVR apps, supporting management of both Torrent Trackers and Usenet Indexers.
|
|
umbraco/Umbraco-CMS
Umbraco is a free and open source .NET content management system helping you deliver delightful digital experiences.
|
|
immense/Remotely
A remote control and remote scripting solution, built with .NET 8, Blazor, and SignalR.
|
|
Lidarr/Lidarr
Looks and smells like Sonarr but made for music.
|
|
simplcommerce/SimplCommerce
A simple, cross platform, modulith ecommerce system built on .NET
|
|
jamesmh/coravel
Near-zero config .NET library that makes advanced application features like Task Scheduling, Caching, Queuing, Event Broadcasting, and more a breeze!
|
Version | Downloads | Last Updated |
---|---|---|
3.2.0 | 67 | 9/19/2022 |
2.10.1 | 32,413 | 3/9/2021 |
2.3.1.6 | 1 | 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 | 1 | 3/8/2021 |
2.1.5 | 1 | 3/8/2021 |
2.1.4 | 0 | 3/8/2021 |
2.1.3 | 0 | 3/8/2021 |
2.1.2 | 1 | 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 | 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 | 1 | 3/8/2021 |
1.20.0 | 1 | 3/8/2021 |
1.18.1.1 | 25 | 3/8/2021 |
1.18.1 | 2 | 3/8/2021 |
1.18.0 | 17 | 3/8/2021 |
1.16.2 | 22 | 3/8/2021 |
1.16.1 | 22 | 3/8/2021 |
1.16.0 | 4 | 3/8/2021 |
1.14.2 | 1 | 3/8/2021 |
1.14.1 | 1 | 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 | 2 | 3/8/2021 |
1.4.1 | 0 | 3/8/2021 |
1.4.0 | 0 | 3/8/2021 |
1.3.0-rc1-1 | 3 | 3/8/2021 |
1.3.0-rc1 | 1 | 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 | 208 | 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 | 1 | 3/8/2021 |
1.2.21 | 2 | 3/8/2021 |
1.2.20 | 0 | 3/8/2021 |
1.2.19 | 1 | 3/8/2021 |
1.2.18 | 0 | 3/8/2021 |
1.2.17 | 0 | 3/8/2021 |
1.2.16 | 1 | 3/8/2021 |
1.2.15 | 1,093 | 11/29/2015 |
1.2.14 | 478 | 11/22/2015 |
1.2.13 | 1,898 | 10/18/2015 |
1.2.12 | 2,217 | 9/20/2015 |
1.2.11.1 | 1,026 | 9/8/2015 |
1.2.11 | 205 | 9/6/2015 |
1.2.10 | 1,546 | 8/16/2015 |
1.2.9 | 399 | 8/8/2015 |
1.2.8 | 1,017 | 7/19/2015 |
1.2.7 | 915 | 7/6/2015 |
1.2.6 | 841 | 6/25/2015 |
1.2.5 | 468 | 6/22/2015 |
1.2.4 | 698 | 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,040 | 5/12/2015 |
1.0.16 | 336 | 5/10/2015 |
1.0.15 | 162 | 5/9/2015 |
1.0.14 | 2,358 | 4/11/2015 |
1.0.13 | 864 | 3/29/2015 |
1.0.12 | 523 | 3/21/2015 |
1.0.11 | 602 | 3/14/2015 |
1.0.10 | 487 | 3/8/2015 |
1.0.9 | 832 | 3/2/2015 |
1.0.8 | 719 | 2/19/2015 |
1.0.7 | 201 | 2/17/2015 |
1.0.6.1 | 805 | 1/18/2015 |
1.0.6 | 213 | 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,303 | 11/23/2014 |
1.0.1 | 1,772 | 10/27/2014 |
1.0.0 | 1,540 | 10/15/2014 |
0.98.0 | 2,143 | 9/14/2014 |
* Added a work-around for Exchange IMAP servers that send broken multipart BODYSTRUCTURE responses without a `body-fld-dsp` token.
* Added support for detecting (but not using) the UNAUTHENTICATE IMAP extension.
* Reintroduced the Pop3Client.GetMessageCount[Async]() methods to allow developers to poll POP3 servers for new messages. (issue #762)
* Fixed SmtpClient's status code logic to handle more than the expected error codes for the `MAIL FROM` and `RCPT TO` commands. (issue #764)
* Added a work-around for IMAP servers that quote FLAGS responses. (issue #771)
* Optimized SmtpClient's logic for byte-stuffing the message when writing it to the socket during the `DATA` command.
* Added an `SslProtocols` property to IMailService (was already in MailService).
* Fixed the DIGEST-MD5 charset handling.
* Fixed a bug in the BodyPart.TryParse() method that could be used when serializing and deserializing FETCH'd responses from an IMAP server.
* Fixed BodyPartCollection.IndexOf().
* Fixed Envelope.ToString and TryParse() to properly deal with the rfc822 group address syntax.
* Fixed the ImapClient logic to properly handle parsing nested group addresses (not likely that anyone would hit this).
* Improved ImapClient's state tracking so that it is possible to re-connect the ImapClient in the Disconnected event handler. (issue #770)
* Fixed IMAP API's that take IList of UIDs or indexes to accept 0 UIDs/indexes.
* Fixed ImapClient's BODYSTRUCTURE parser to properly handle multiple body-extensions tokens.
* Fixed ImapClient to properly handle the `* PREAUTH` greeting when connecting to an IMAP server.
Note to users upgrading from MailKit 1.x:
In order to authenticate using the XOAUTH2 SASL mechanism, you must now use the following approach:
client.Authenticate (new SaslMechanismOAuth2 (username, auth_token));