From 210d8ab0ee4105e9bd15dafa3d56273519ea71ba Mon Sep 17 00:00:00 2001 From: John Cardinal Date: Wed, 2 Nov 2022 15:51:59 +0000 Subject: [PATCH] case 4230 --- .../models/GlobalOpsNotificationSettings.cs | 36 ++++++++++--------- 1 file changed, 19 insertions(+), 17 deletions(-) diff --git a/server/AyaNova/models/GlobalOpsNotificationSettings.cs b/server/AyaNova/models/GlobalOpsNotificationSettings.cs index fac57668..576355f7 100644 --- a/server/AyaNova/models/GlobalOpsNotificationSettings.cs +++ b/server/AyaNova/models/GlobalOpsNotificationSettings.cs @@ -21,23 +21,25 @@ namespace AyaNova.Models SmtpDeliveryActive = true; Id = 1; -#if (DEBUG) - SmtpServerAddress = "mail.ayanova.com"; - SmtpAccount = "support@ayanova.com"; - SmtpPassword = "e527b6c5a00c27bb61ca694b3de0ee178cbe3f1541a772774762ed48e9caf5ce"; - ConnectionSecurity = NotifyMailSecurity.StartTls; - SmtpServerPort = 465; - NotifyFromAddress = "support@ayanova.com"; - AyaNovaServerURL="http://localhost:8080"; -#else - SmtpServerAddress="mail.example.com"; - SmtpAccount="notifydeliverfromaccount@example.com"; - SmtpPassword="examplepassword"; - ConnectionSecurity= NotifyMailSecurity.SSLTLS; - SmtpServerPort=587; - NotifyFromAddress="noreply@example.com"; - AyaNovaServerURL="https://url_to_my_ayanova_app"; -#endif + // #if (DEBUG) + // SmtpDeliveryActive = true; + // SmtpServerAddress = "mail.ayanova.com"; + // SmtpAccount = "support@ayanova.com"; + // SmtpPassword = "e527b6c5a00c27bb61ca694b3de0ee178cbe3f1541a772774762ed48e9caf5ce"; + // ConnectionSecurity = NotifyMailSecurity.StartTls; + // SmtpServerPort = 465; + // NotifyFromAddress = "support@ayanova.com"; + // AyaNovaServerURL="http://localhost:8080"; + // #else + SmtpDeliveryActive = false; + SmtpServerAddress = "mail.example.com"; + SmtpAccount = "notifydeliverfromaccount@example.com"; + SmtpPassword = "examplepassword"; + ConnectionSecurity = NotifyMailSecurity.SSLTLS; + SmtpServerPort = 587; + NotifyFromAddress = "noreply@example.com"; + AyaNovaServerURL = "https://url_to_my_ayanova_app"; + //#endif } }