This commit is contained in:
2020-07-09 23:54:29 +00:00
parent 7b10dd51a7
commit f197ee4896
4 changed files with 127 additions and 2 deletions

View File

@@ -14,10 +14,17 @@ namespace AyaNova.Models
public NotifyMailSecurity ConnectionSecurity { get; set; }
public int SmtpServerPort { get; set; }
public string NotifyFromAddress { get; set; }
public GlobalOpsNotificationSettings()
{
{
Active = true;
Id = 1;
SmtpServerAddress="mail.example.com";
SmtpAccount="notifydeliverfromaccount@example.com";
SmtpPassword="examplepassword";
ConnectionSecurity= NotifyMailSecurity.SSLTLS;
SmtpServerPort=587;
NotifyFromAddress="noreply@example.com";
}
}
}