优化发送

This commit is contained in:
tongfei
2024-04-12 14:29:34 +08:00
parent f17286bfe5
commit 29d7d27371
3 changed files with 40 additions and 3 deletions

View File

@@ -30,7 +30,7 @@ namespace WMS.Web.Core.Dto
/// <summary>
/// 邮箱
/// </summary>
public List<MailboxAddress> EmailList { get; set; } = new List<MailboxAddress>();
public List<MailAddress> EmailList { get; set; } = new List<MailAddress>();
/// <summary>
/// 明细
@@ -39,6 +39,28 @@ namespace WMS.Web.Core.Dto
}
/// <summary>
/// 邮箱
/// </summary>
public class MailAddress
{
public MailAddress(string name,string email)
{
this.Name = name;
this.Email = Email;
}
/// <summary>
/// 名称
/// </summary>
public string Name { get; set; }
/// <summary>
/// 地址
/// </summary>
public string Email { get; set; }
}
/// <summary>
/// 明细
/// </summary>