This commit is contained in:
@@ -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
|
||||
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user