This commit is contained in:
2020-07-22 23:02:30 +00:00
parent 9dda0623ba
commit 1223fd2f28
7 changed files with 83 additions and 22 deletions

View File

@@ -14,6 +14,7 @@ namespace AyaNova.Models
public NotifyMailSecurity ConnectionSecurity { get; set; }
public int SmtpServerPort { get; set; }
public string NotifyFromAddress { get; set; }
public string AyaNovaServerURL { get; set; }
public GlobalOpsNotificationSettings()
{
@@ -27,6 +28,7 @@ namespace AyaNova.Models
ConnectionSecurity = NotifyMailSecurity.StartTls;
SmtpServerPort = 465;
NotifyFromAddress = "support@ayanova.com";
AyaNovaServerURL="http://localhost:8080";
#else
SmtpServerAddress="mail.example.com";
SmtpAccount="notifydeliverfromaccount@example.com";
@@ -34,6 +36,7 @@ namespace AyaNova.Models
ConnectionSecurity= NotifyMailSecurity.SSLTLS;
SmtpServerPort=587;
NotifyFromAddress="noreply@example.com";
AyaNovaServerURL="https://ayanovaserver.example.com";
#endif
}