mimekit - MimeKit 4.18.0.2174

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.

  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 limitations.

  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

PM> Install-Package MimeKit -Version 4.18.0.2174 -Source https://www.myget.org/F/mimekit/api/v3/index.json

Copy to clipboard

> nuget.exe install MimeKit -Version 4.18.0.2174 -Source https://www.myget.org/F/mimekit/api/v3/index.json

Copy to clipboard

> dotnet add package MimeKit --version 4.18.0.2174 --source https://www.myget.org/F/mimekit/api/v3/index.json

Copy to clipboard
<PackageReference Include="MimeKit" Version="4.18.0.2174" />
Copy to clipboard
source https://www.myget.org/F/mimekit/api/v3/index.json

nuget MimeKit  ~> 4.18.0.2174
Copy to clipboard

> choco install MimeKit --version 4.18.0.2174 --source https://www.myget.org/F/mimekit/api/v2

Copy to clipboard
Import-Module PowerShellGet
Register-PSRepository -Name "mimekit" -SourceLocation "https://www.myget.org/F/mimekit/api/v2"
Install-Module -Name "MimeKit" -RequiredVersion "4.18.0.2174" -Repository "mimekit" 
Copy to clipboard

  • Removed base, embed, input, link and source tags as "unsafe" tags. These are all void tags in HTML, meaning they do not have inner content. (issue #1247)
  • Fixed InternetAddressListConverter to allow conversion of empty strings into an empty list. (issue #1249)
  • Fixed NullReferenceException in BouncyCastleSecureMimeContext when SubjectKeyIdentifier is requested but not available. (issue #1250)
  • Fixed MimeReader to support MimePart content larger than 2GB. (issue #1252)
  • Fixed Message-Id parser to not decode international domains. (issue #1254)
  • Bumped System.Security.Cryptography.Pkcs dependency to 10.0.0.
  • Bumped System.Text.Encoding.CodePages dependency to 10.0.0.
  • Bumped BouncyCastle.Cryptography dependency to 2.7.0.

Note: As of BouncyCastle 2.7.0, decrypting S/MIME content encrypted with Blowfish, CAST5, RC2/40, RC2/64, or RC2/128 will fail with a CmsException: no fixed size for content-encryption key; constant-time RSA unwrap unavailable.

Use the following code snippet to restore pre-2.7.0 behavior:

Org.BouncyCastle.Utilities.Properties.SetThreadBoolean (Org.BouncyCastle.Utilities.Properties.CmsAllowLenientRsaPkcs1, true);
  • .NETFramework 4.6.2
    • BouncyCastle.Cryptography (>= 2.7.0)
    • System.Buffers (>= 4.6.1)
    • System.Memory (>= 4.6.3)
  • .NETFramework 4.7
    • BouncyCastle.Cryptography (>= 2.7.0)
    • System.Buffers (>= 4.6.1)
    • System.Memory (>= 4.6.3)
  • .NETFramework 4.8
    • BouncyCastle.Cryptography (>= 2.7.0)
    • System.Buffers (>= 4.6.1)
    • System.Memory (>= 4.6.3)
  • .NETFramework 8.0
    • BouncyCastle.Cryptography (>= 2.7.0)
    • System.Security.Cryptography.Pkcs (>= 10.0.0)
  • .NETFramework 10.0
    • BouncyCastle.Cryptography (>= 2.7.0)
    • System.Security.Cryptography.Pkcs (>= 10.0.0)
  • .NETStandard 2.0
    • BouncyCastle.Cryptography (>= 2.7.0)
    • System.Buffers (>= 4.6.1)
    • System.Data.DataSetExtensions (>= 4.5.0)
    • System.Memory (>= 4.6.3)
    • System.Security.Cryptography.Pkcs (>= 10.0.0)
    • System.Text.Encoding.CodePages (>= 10.0.0)
  • .NETStandard 2.1
    • BouncyCastle.Cryptography (>= 2.7.0)
    • System.Security.Cryptography.Pkcs (>= 10.0.0)
    • System.Text.Encoding.CodePages (>= 10.0.0)
  • .NETFramework 4.6.2: 4.6.2.0
  • .NETFramework 4.7: 4.7.0.0
  • .NETFramework 4.8: 4.8.0.0
  • .NETFramework 8.0: 8.0.0.0
  • .NETFramework 10.0: 10.0.0.0
  • .NETStandard 2.0: 2.0.0.0
  • .NETStandard 2.1: 2.1.0.0

Owners

jstedfast

Authors

Jeffrey Stedfast

Project URL

https://www.mimekit.net/

License

MIT

Tags

mime encryption arc dkim security smime s/mime openpgp pgp mbox mail email parser tnef

Info

76 total downloads
1 downloads for version 4.18.0.2174
Download (6.99 MB)
NuGet 2.12 or higher
Found on the current feed only

Package history

Version Size Last updated Downloads Mirrored?
4.18.0.2174 6.99 MB Sun, 13 Sep 2026 21:18:11 GMT 1
4.17.1.2165 6.99 MB Sat, 15 Aug 2026 13:40:46 GMT 31
4.17.1.2164 6.99 MB Sat, 15 Aug 2026 13:33:58 GMT 8
4.17.1.2163 6.99 MB Sat, 15 Aug 2026 13:23:25 GMT 9
4.17.1.2160 6.99 MB Sun, 26 Jul 2026 13:16:50 GMT 27