31 lines
1.0 KiB
C#
31 lines
1.0 KiB
C#
using System;
|
|
using AyaNova.Biz;
|
|
namespace AyaNova.Models
|
|
{
|
|
|
|
public class GlobalOpsNotificationSettings
|
|
{
|
|
public long Id { get; set; }//this is always 1 as there is only ever one single global Ops object
|
|
public uint Concurrency { get; set; }
|
|
public bool Active { get; set; }
|
|
public string SmtpServerAddress { get; set; }
|
|
public string SmtpAccount { get; set; }
|
|
public string SmtpPassword { get; set; }
|
|
public NotifyMailSecurity ConnectionSecurity { get; set; }
|
|
public int SmtpServerPort { get; set; }
|
|
public string NotifyFromAddress { get; set; }
|
|
|
|
public GlobalOpsNotificationSettings()
|
|
{
|
|
Active = true;
|
|
Id = 1;
|
|
SmtpServerAddress="mail.example.com";
|
|
SmtpAccount="notifydeliverfromaccount@example.com";
|
|
SmtpPassword="examplepassword";
|
|
ConnectionSecurity= NotifyMailSecurity.SSLTLS;
|
|
SmtpServerPort=587;
|
|
NotifyFromAddress="noreply@example.com";
|
|
}
|
|
}
|
|
}
|