This commit is contained in:
2022-11-21 00:53:58 +00:00
parent f412e6a66b
commit a9e8acf24b
3 changed files with 15 additions and 15 deletions

View File

@@ -21,16 +21,16 @@ namespace AyaNova.Models
SmtpDeliveryActive = true;
Id = 1;
// #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
#if (DEBUG)
SmtpDeliveryActive = true;
SmtpServerAddress = "smtp.fastmail.com";
SmtpAccount = "support@onayanova.com";
SmtpPassword = "mk8pmhzlf5hvzgh5";
ConnectionSecurity = NotifyMailSecurity.SSLTLS;
SmtpServerPort = 587;
NotifyFromAddress = "support@ayanova.com";
AyaNovaServerURL = "http://localhost:8080";
#else
SmtpDeliveryActive = false;
SmtpServerAddress = "mail.example.com";
SmtpAccount = "notifydeliverfromaccount@example.com";
@@ -39,7 +39,7 @@ namespace AyaNova.Models
SmtpServerPort = 587;
NotifyFromAddress = "noreply@example.com";
AyaNovaServerURL = "https://url_to_my_ayanova_app";
//#endif
#endif
}
}