Ejemplo n.º 1
0
 public MailSettingsViewModel(EmailSetting mailSettings)
 {
     Host        = mailSettings.Host;
     Port        = mailSettings.Port;
     EnableSsl   = mailSettings.EnableSsl;
     Timeout     = mailSettings.Timeout;
     User        = mailSettings.User;
     Password    = mailSettings.Password;
     HasSettings = true;
 }
Ejemplo n.º 2
0
 public MailSettingsViewModel(EmailSetting mailSettings)
 {
     Host = mailSettings.Host;
     Port = mailSettings.Port;
     EnableSsl = mailSettings.EnableSsl;
     Timeout = mailSettings.Timeout;
     User = mailSettings.User;
     Password = mailSettings.Password;
     HasSettings = true;
 }
Ejemplo n.º 3
0
 public MailUtilities(EmailSetting mailSettings)
 {
     _mailSettings = new MailSettingsViewModel(mailSettings);
 }
Ejemplo n.º 4
0
 public MailUtilities(EmailSetting mailSettings)
 {
     _mailSettings = new MailSettingsViewModel(mailSettings);
 }