MimeKit is an Open Source library for creating and parsing MIME messages. 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 (more than 25x faster than OpenPOP.NET and over 100x faster than AE.Net.Mail and MailSystem.NET).
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 massive limitations or bugs.
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
See the version list below for details.
Requires NuGet 2.8.6 or higher.
Install-Package MimeKitLite -Version 1.12.0
dotnet add package MimeKitLite --version 1.12.0
<PackageReference Include="MimeKitLite" Version="1.12.0" />
paket add MimeKitLite --version 1.12.0
#r "nuget: MimeKitLite, 1.12.0"
// Install MimeKitLite as a Cake Addin #addin nuget:?package=MimeKitLite&version=1.12.0 // Install MimeKitLite as a Cake Tool #tool nuget:?package=MimeKitLite&version=1.12.0
* Improved the address parser to allow the lack of a terminating ';' character at the end of group addresses.
* Improved the address parser to unquoted ',' and '.' characters in the name component of mailbox and group addresses.
This package has no dependencies.
NuGet packages (10)
Showing the top 5 NuGet packages that depend on MimeKitLite:
MzAutomation Test Framework. Documentation coming soon..
Unofficial API Client Library for temp-mail.org in .NET Standard
Context is an Open Source library for parsing and building Context in Direct Messaging. See Implementation Guide: http://wiki.directproject.org/file/detail/Implementation+Guide+for+Expressing+Context+in+Direct+Messaging+v1.0-DRAFT-2016122901.docx Context in Direct Messaging defines an extensible mechanism to express the context of a Direct message exchange by providing a framework for the inclusion of contextual metadata by the message sender. Such metadata may be helpful for routing and processing of Direct messages, such as in cases where the payload format contains limited or no intrinsic metadata, or when the reason for the transmission may not be easily determined from the payload content. The framework was designed so that the metadata could also be available to users of non-conforming applications in a human-readable format. A separate attachment containing the payload metadata was selected over a series of RFC 822 headers, as such headers may not be as easily viewed by all Mail User Agents (MUAs). Similarly, human-readable metadata parameters and values were selected over Object Identifiers (OIDs) or other non-human-readable representations.
Implementation of Butterfly.Message for AWS Simple Email Service
GitHub repositories (1)
Showing the top 1 popular GitHub repositories that depend on MimeKitLite:
WireMock.Net is a flexible library for stubbing and mocking web HTTP responses using request matching and response templating. Based on the functionality from http://WireMock.org, but extended with more functionality.