31 lines
751 B
C#
31 lines
751 B
C#
using MailKit.Security;
|
|
|
|
namespace GWMS.Data
|
|
{
|
|
public class MailKitEmailSenderOptions
|
|
{
|
|
#region Public Constructors
|
|
|
|
public MailKitEmailSenderOptions()
|
|
{
|
|
Host_SecureSocketOptions = SecureSocketOptions.Auto;
|
|
}
|
|
|
|
#endregion Public Constructors
|
|
|
|
#region Public Properties
|
|
|
|
public string Host_Address { get; set; }
|
|
|
|
public string Host_Password { get; set; }
|
|
public int Host_Port { get; set; }
|
|
|
|
public SecureSocketOptions Host_SecureSocketOptions { get; set; }
|
|
public string Host_Username { get; set; }
|
|
public string Sender_EMail { get; set; }
|
|
|
|
public string Sender_Name { get; set; }
|
|
|
|
#endregion Public Properties
|
|
}
|
|
} |