<PackageReference Include="NETStandard.Library" Version="2.0.0" />

System.Net.Mail.MailMessage

public class MailMessage : IDisposable

public MailAddressCollection Bcc { get; }

public string Body { get; set; }

public Encoding BodyEncoding { get; set; }

public MailAddressCollection CC { get; }

public MailAddress From { get; set; }

public NameValueCollection Headers { get; }

public Encoding HeadersEncoding { get; set; }

public bool IsBodyHtml { get; set; }

public MailPriority Priority { get; set; }

public MailAddress ReplyTo { get; set; }

public MailAddress Sender { get; set; }

public string Subject { get; set; }

public Encoding SubjectEncoding { get; set; }

public MailAddressCollection To { get; }

public MailMessage()

public MailMessage(string from, string to)

public MailMessage(string from, string to, string subject, string body)

public void Dispose()

protected virtual void Dispose(bool disposing)