public Email() { this._conf = new SMTPSettings() { ServerName = "smtp.gmail.com", Password = "******", UserName = "******" }; this._mail = new Mail(_conf); this._format = new MailFormatTXT(); this._msg = new MailMessage("", _format); }
public Mail(SMTPSettings conf) { this._conf = conf; }