Ejemplo n.º 1
0
 void init(string smtpServer, SendMailVersion version, string username, string password)
 {
     this.smtpServer = smtpServer;
     this.version    = version;
     this.Username   = username;
     this.Password   = password;
 }
Ejemplo n.º 2
0
 public SendMail(string smtpServer, SendMailVersion version = DefaultVersion, string username = "", string password = "")
 {
     this.smtpServer = smtpServer;
     this.version    = version;
     this.Username   = username;
     this.Password   = password;
 }
Ejemplo n.º 3
0
 public SendMail(string smtpServer, SendMailVersion version, string username, string password)
 {
     init(smtpServer, version, username, password);
 }
Ejemplo n.º 4
0
 public SendMail(string smtpServer, SendMailVersion version)
 {
     init(smtpServer, version, null, null);
 }