Browse Source

Update SmtpEmailSender.cs

pull/17776/head
maliming 3 years ago
committed by GitHub
parent
commit
44c1805f70
No known key found for this signature in database GPG Key ID: 4AEE18F83AFDEB23
  1. 2
      framework/src/Volo.Abp.Emailing/Volo/Abp/Emailing/Smtp/SmtpEmailSender.cs

2
framework/src/Volo.Abp.Emailing/Volo/Abp/Emailing/Smtp/SmtpEmailSender.cs

@ -73,7 +73,7 @@ public class SmtpEmailSender : EmailSenderBase, ISmtpEmailSender, ITransientDepe
using (var smtpClient = await BuildClientAsync())
{
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." +
"Use MailKit(https://docs.abp.io/en/abp/latest/MailKit) or other libraries instead." +
"For more information, see https://github.com/dotnet/platform-compat/blob/master/docs/DE0005.md");
await smtpClient.SendMailAsync(mail);

Loading…
Cancel
Save