mirror of
https://git.teknik.io/Teknikode/Teknik.git
synced 2023-08-02 14:16:22 +02:00
28 lines
665 B
C#
28 lines
665 B
C#
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;
|
|
}
|
|
}
|
|
}
|