From 374624ed3dd65d9281b18a28540bc76c28f69c20 Mon Sep 17 00:00:00 2001 From: David Barrett <39411621+David-Barrett-MS@users.noreply.github.com> Date: Tue, 11 Jun 2024 10:32:14 +0100 Subject: [PATCH] Update SmtpClient.xml Remove reference to MailKit as we should not be recommending third party tools (that is up to the user to determine). We have also been receiving support cases for MailKit (because it is referred to in our docs). --- xml/System.Net.Mail/SmtpClient.xml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/xml/System.Net.Mail/SmtpClient.xml b/xml/System.Net.Mail/SmtpClient.xml index cf357a69021..744de81f0c9 100644 --- a/xml/System.Net.Mail/SmtpClient.xml +++ b/xml/System.Net.Mail/SmtpClient.xml @@ -71,7 +71,7 @@ The `SmtpClient` class is used to send email to an SMTP server for delivery. The SMTP protocol is defined in RFC 2821, which is available at [https://www.ietf.org](https://www.ietf.org/). > [!IMPORTANT] -> We don't recommend that you use the `SmtpClient` class for new development because `SmtpClient` doesn't support many modern protocols. Use [MailKit](https://github.com/jstedfast/MailKit) or other libraries instead. For more information, see [SmtpClient shouldn't be used](https://github.com/dotnet/platform-compat/blob/master/docs/DE0005.md) on GitHub. +> We don't recommend that you use the `SmtpClient` class for new development because `SmtpClient` doesn't support many modern protocols. Choose a suitable third party library for your needs. For more information, see [SmtpClient shouldn't be used](https://github.com/dotnet/platform-compat/blob/master/docs/DE0005.md) on GitHub. The `SmtpClient` class is obsolete in Xamarin. However: