This commit is contained in:
@@ -19,12 +19,23 @@ namespace AyaNova.Models
|
||||
{
|
||||
SmtpDeliveryActive = true;
|
||||
Id = 1;
|
||||
SmtpServerAddress="mail.example.com";
|
||||
|
||||
#if (DEBUG)
|
||||
SmtpServerAddress = "mail.ayanova.com";
|
||||
SmtpAccount = "support@ayanova.com";
|
||||
SmtpPassword = "e527b6c5a00c27bb61ca694b3de0ee178cbe3f1541a772774762ed48e9caf5ce";
|
||||
ConnectionSecurity = NotifyMailSecurity.StartTls;
|
||||
SmtpServerPort = 465;
|
||||
NotifyFromAddress = "support@ayanova.com";
|
||||
#else
|
||||
SmtpServerAddress="mail.example.com";
|
||||
SmtpAccount="notifydeliverfromaccount@example.com";
|
||||
SmtpPassword="examplepassword";
|
||||
ConnectionSecurity= NotifyMailSecurity.SSLTLS;
|
||||
SmtpServerPort=587;
|
||||
NotifyFromAddress="noreply@example.com";
|
||||
#endif
|
||||
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user