title: Is System.Net.Mail.SmtpClient obsolete in 4.7?
body: <p>Few days back I visited a <a href="https://www.infoq.com/news/2017/04/MailKit-MimeKit-Official" rel="noreferrer">blog</a> that said <code>System.Net.Mail.SmtpClient</code> is obsolete and an open source library <a href="https://github.com/jstedfast/MailKit" rel="noreferrer">MailKit</a> and <a href="https://github.com/jstedfast/MimeKit" rel="noreferrer">MimeKit</a> is replacing it.</p>
  
  <p>I can see <a href="https://docs.microsoft.com/en-us/dotnet/api/System.Net.Mail.SmtpClient?view=netframework-4.7" rel="noreferrer">docs</a> for that but not finding the same in <a href="https://referencesource.microsoft.com/#System/net/System/Net/mail/SmtpClient.cs" rel="noreferrer">reference code</a> and in library. Is it obsolete or not?</p>
  
  <pre><code>[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
  </code></pre>