@ -71,6 +72,10 @@ public class SmtpEmailSender : EmailSenderBase, ISmtpEmailSender, ITransientDepe
{
using(varsmtpClient=awaitBuildClientAsync())
{
Logger.LogWarning("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 https://github.com/dotnet/platform-compat/blob/master/docs/DE0005.md");