ASP.NET Hack Advent Post 14: MailKit
Jürgen Gutsch - 14 December, 2019
This fourteenth post is about a cross-platform .NET library for IMAP, POP3, and SMTP.
On Twitter I got asked about sending emails out from a worker service. So I searched for the documentation about System.Net.Mail and the SmtpClient Class and was really surprised that this class was marked as obsolete. It seems I missed the announcement about this.
The .NET team recommend to use the MailKit and MimeKit to send emails out.
Both libraries are open sourced under the MIT license and free to use in commercial projects. It seems that this libraries are really complete and provide a lot of useful features.