示例#1
0
 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);
 }
示例#2
0
 public Mail(SMTPSettings conf)
 {
     this._conf = conf;
 }