Логика для Мэйл в Контракстс

This commit is contained in:
Софья Якобчук 2024-05-26 08:38:40 +04:00
parent 6cd384571a
commit c351b43679
2 changed files with 9 additions and 0 deletions

View File

@ -8,5 +8,11 @@ namespace LawCompanyContracts.BindingModels
{
internal class MailConfigBindingModel
{
public string MailLogin { get; set; } = string.Empty;
public string MailPassword { get; set; } = string.Empty;
public string SmtpClientHost { get; set; } = string.Empty;
public int SmtpClientPort { get; set; }
public string PopHost { get; set; } = string.Empty;
public int PopPort { get; set; }
}
}

View File

@ -8,5 +8,8 @@ namespace LawCompanyContracts.BindingModels
{
internal class MailSendInfoBindingModel
{
public string MailAddress { get; set; } = string.Empty;
public string Subject { get; set; } = string.Empty;
public string Text { get; set; } = string.Empty;
}
}