I am pleased to announce the release of MailKit 1.14!
See below for a list of new features and bug fixes.
MailKit is a C# library which is built on top of MimeKit and is intended to be used for interfacing with IMAP, POP3 and SMTP servers.
MailKit features incredibly robust IMAP, POP3 and SMTP clients with network APIs that are all capable of being canceled. API's that might transfer significant amounts of data between the client and server also include the ability to report progress. Asynchronous API's are also available.
Built on top of .NET, MailKit can be used with any of the .NET languages including C#, VB.NET, F#, and more. It will also run on any platform that Mono or the new .NET Core runtime have been ported to including Windows, Linux, Mac OS, Windows Phone, Apple TV, Apple Watch, iPhone/iPad, Xbox, PlayStation, and Android devices.
Noteworthy changes in version 1.14
- Improved IMAP's BODYSTRUCTURE parser to sanitize the Content-Disposition values. (issue #486)
- Improved robustness of IMAP's BODYSTRUCTURE parser in cases where qstring tokens have unescaped quotes. (issue #485)
- Fixed IMAP to properly handle NIL as a folder name in LIST, LSUB and STATUS responses. (issue #482)
- Added ImapFolder.GetHeaders() to allow developers to download the entire set of message headers.
- Added SMTP support for International Domain Names in email addresses used in the MAIL FROM and RCPT TO commands.
- Modified SmtpClient to no longer throw a NotSupportedException when trying to send messages to a recipient with a unicode local-part in the email address when the SMTP server does not support the SMTPUTF8 extension. Instead, the local-part is passed through as UTF-8, leaving it up to the server to reject either the command or the message. This seems to provide the best interoperability.
Installing via NuGet
The easiest way to install MailKit is via NuGet.
In Visual Studio's Package Manager Console, simply enter the following command:
Getting the Source Code
First, you'll need to clone MailKit from my GitHub repository. To do this using the command-line version of Git, you'll need to issue the following command in your terminal:
git clone --recursive https://github.com/jstedfast/MailKit.git
API documentation can be found at http://mimekit.net/docs.
A copy of the xml formatted API documentation is also included in the NuGet and/or Xamarin Component package.