2015-12-16 21:46:54 +01:00
|
|
|
|
using System;
|
|
|
|
|
using System.Collections.Generic;
|
|
|
|
|
using System.Linq;
|
|
|
|
|
using System.Text;
|
|
|
|
|
using System.Threading.Tasks;
|
|
|
|
|
using System.Net.Mail;
|
|
|
|
|
|
2015-12-21 09:58:09 +01:00
|
|
|
|
namespace Teknik.Configuration
|
2015-12-16 21:46:54 +01:00
|
|
|
|
{
|
2016-01-28 08:43:41 +01:00
|
|
|
|
public class ContactConfig
|
2015-12-16 21:46:54 +01:00
|
|
|
|
{
|
2016-01-29 00:24:12 +01:00
|
|
|
|
public bool Enabled { get; set; }
|
2017-01-18 22:04:11 +01:00
|
|
|
|
public EmailAccount EmailAccount { get; set; }
|
2015-12-16 21:46:54 +01:00
|
|
|
|
|
2016-01-28 08:43:41 +01:00
|
|
|
|
public ContactConfig()
|
2015-12-16 21:46:54 +01:00
|
|
|
|
{
|
|
|
|
|
SetDefaults();
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
public void SetDefaults()
|
|
|
|
|
{
|
2016-01-29 00:24:12 +01:00
|
|
|
|
Enabled = true;
|
2017-01-18 22:04:11 +01:00
|
|
|
|
EmailAccount = new EmailAccount();
|
2015-12-16 21:46:54 +01:00
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
}
|