PIbd - 21 Bakalskaya E.D. LabWork07 BASE #13

Closed
ekallin wants to merge 26 commits from LabWork07 into LabWork06
2 changed files with 21 additions and 0 deletions
Showing only changes of commit d998b597cc - Show all commits

View File

@ -0,0 +1,12 @@
namespace SushiBarContracts.BindingModel
{
public 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

@ -0,0 +1,9 @@
namespace SushiBarContracts.BindingModel
{
public class MailSendInfoBindingModel
{
public string MailAddress { get; set; } = string.Empty;
public string Subject { get; set; } = string.Empty;
public string Text { get; set; } = string.Empty;
}
}