mirror of
https://git.teknik.io/Teknikode/Teknik.git
synced 2023-08-02 14:16:22 +02:00
35 lines
787 B
C#
35 lines
787 B
C#
using System;
|
|
using System.Collections.Generic;
|
|
using System.Linq;
|
|
using System.Text;
|
|
using System.Threading.Tasks;
|
|
using System.Net.Mail;
|
|
|
|
namespace Teknik.Configuration
|
|
{
|
|
public class ContactConfig
|
|
{
|
|
public bool Enabled { get; set; }
|
|
public string Host { get; set; }
|
|
public int Port { get; set; }
|
|
public string Username { get; set; }
|
|
public string Password { get; set; }
|
|
public bool SSL { get; set; }
|
|
|
|
public ContactConfig()
|
|
{
|
|
SetDefaults();
|
|
}
|
|
|
|
public void SetDefaults()
|
|
{
|
|
Enabled = true;
|
|
Host = string.Empty;
|
|
Port = 25;
|
|
Username = string.Empty;
|
|
Password = string.Empty;
|
|
SSL = false;
|
|
}
|
|
}
|
|
}
|