2016-01-28 08:43:41 +01:00
|
|
|
|
using System;
|
|
|
|
|
using System.Collections.Generic;
|
|
|
|
|
using System.Linq;
|
|
|
|
|
using System.Web;
|
|
|
|
|
|
|
|
|
|
namespace Teknik.Configuration
|
|
|
|
|
{
|
|
|
|
|
public class EmailConfig
|
|
|
|
|
{
|
2016-01-29 00:24:12 +01:00
|
|
|
|
public bool Enabled { get; set; }
|
|
|
|
|
|
2016-01-28 08:43:41 +01:00
|
|
|
|
public string Username { get; set; }
|
|
|
|
|
|
|
|
|
|
public string Password { get; set; }
|
|
|
|
|
|
2016-01-28 08:47:18 +01:00
|
|
|
|
public string Domain { get; set; }
|
|
|
|
|
|
2016-01-28 21:40:51 +01:00
|
|
|
|
public string MailHost { get; set; }
|
|
|
|
|
|
2016-01-28 08:43:41 +01:00
|
|
|
|
public int MaxSize { get; set; }
|
|
|
|
|
|
2017-06-05 08:06:40 +02:00
|
|
|
|
public DatabaseConfig CounterDatabase { get; set; }
|
|
|
|
|
|
2016-01-28 08:43:41 +01:00
|
|
|
|
public EmailConfig()
|
|
|
|
|
{
|
2016-01-29 00:24:12 +01:00
|
|
|
|
Enabled = true;
|
2016-01-28 08:43:41 +01:00
|
|
|
|
Username = string.Empty;
|
|
|
|
|
Password = string.Empty;
|
2016-01-28 08:47:18 +01:00
|
|
|
|
Domain = string.Empty;
|
2016-01-28 21:40:51 +01:00
|
|
|
|
MailHost = string.Empty;
|
2016-01-28 08:43:41 +01:00
|
|
|
|
MaxSize = 1000;
|
2017-06-05 08:06:40 +02:00
|
|
|
|
CounterDatabase = new DatabaseConfig();
|
2016-01-28 08:43:41 +01:00
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
}
|