Install
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-cancellabl
5.0.0Latest, 10 Nov 2026
304MDownloads, all time
0Advisories on the latest
1Advisories, all versions
MITLicence
6.9KStars
5.3/10OpenSSF Scorecard
Source · Homepage · Ask AI Mode · · Markdown
Known advisories
| Severity | Advisory | Fix | Published |
|---|---|---|---|
| Moderate | MailKit has STARTTLS Response Injection via unflushed stream buffer that enables SASL mechanism downgrade CVE-2026-41319 | Fixed in 4.16.0 | 18 Apr 2026 |
In the news
- GHSA-9J88-VVJ5-VHGR: GHSA-9j88-vvj5-vhgr: STARTTLS Response Injection and SASL Downgrade in MailKit dev.to, 19 Apr 2026
- Sending Emails with Gmail Using MailKit in .NET Web API: The Complete Guide dev.to, 18 Feb 2025
- MailKit Reply Email Not Threading Correctly with Original Message stackoverflow.com, 20 Jan 2025
- Updated from MailKit 4.8.0 to MailKit 4.9.0 because of FileLoadExceptions and now have similar issue in System.Buffers stackoverflow.com, 9 Jan 2025
- MailKit, Office 365 and OAUTH2: Problem in authentication of a server side app stackoverflow.com, 30 Oct 2024
Sources: NuGet, deps.dev (CC BY 4.0), OSV. Last checked 3 Dec 2026.