mirror of
https://git.teknik.io/Teknikode/Teknik.git
synced 2023-08-02 14:16:22 +02:00
34 lines
782 B
C#
34 lines
782 B
C#
using System;
|
|
using System.Collections.Generic;
|
|
using System.Linq;
|
|
using System.Text;
|
|
using System.Threading.Tasks;
|
|
|
|
namespace Teknik.Configuration
|
|
{
|
|
public class EmailAccount
|
|
{
|
|
public string EmailAddress { 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 EmailAccount()
|
|
{
|
|
SetDefaults();
|
|
}
|
|
|
|
public void SetDefaults()
|
|
{
|
|
EmailAddress = string.Empty;
|
|
Host = string.Empty;
|
|
Port = 25;
|
|
Username = string.Empty;
|
|
Password = string.Empty;
|
|
SSL = false;
|
|
}
|
|
}
|
|
}
|