Skip to content

System.Net.Mail.SmtpClient is marked as obsolete in docs, but not in the source code #2986

Closed
@PashaPash

Description

@PashaPash

System.Net.Mail.SmtpClient class page is currently states that class is obsolete, and offers https://github.com/jstedfast/MailKit as a replacement.

[System.Obsolete("SmtpClient and its network of types are poorly designed, we strongly recommend you use https://github.com/jstedfast/MailKit and https://github.com/jstedfast/MimeKit instead")]
public class SmtpClient : IDisposable

That class has no Obsolete attribute in both Reference Source for 4.7 and corefx source.

Mono version of SmtpClient was marked as Obsolete few years ago by @migueldeicaza, and then that external lib link somehow made its way to official 4.7 docs. Please remove it.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Pri1Indicates issues/PRs that are high priorityarea-InfrastructureexternalNot related to content

    Type

    No type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions