Is System.Net.Mail.SmtpClient obsolete in 4.7?

前端 未结 5 1084
心在旅途
心在旅途 2020-12-29 04:10

Few days back I visited a blog that said System.Net.Mail.SmtpClient is obsolete and an open source library MailKit and MimeKit is replacing it.

I can se

5条回答
  •  佛祖请我去吃肉
    2020-12-29 04:39

    I can't find any trace of System.Obsolete inside .NET Framework 4.7.2 for SmtpClient class. Does this mean that this class is no longer obsolete?

    Because in docs.microsoft.com it states clearly, This API is now obsolete.

    EDIT:

    SmtpClient is not obsolete, this is due to a bug in the documentation. See Issue here.

提交回复
热议问题