private MailMessage( MailAddress from, List<MailAddress> to, string subject, string body = "", bool isBodyHtml = false) { this.From = from; this.To = to; this.Cc = new List<MailAddress>(); this.Bcc = new List<MailAddress>(); this.Subject = subject; this.Body = body; this.IsBodyHtml = isBodyHtml; }
public MailMessage(MailAddress from, MailAddress to, string subject, string body = "", bool isBodyHtml = false) : this(from, new List <MailAddress> { to }, subject, body, isBodyHtml) { }
public MailMessage(MailAddress from, MailAddress to, string subject, string body = "", bool isBodyHtml = false) : this(from, new List<MailAddress> { to }, subject, body, isBodyHtml) { }