You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

62 lines
1.6 KiB
C#

using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace DS.WMS.Core.EmailParse.Dtos
{
/// <summary>
/// 邮件账户配置表
/// </summary>
public class EmailUserAccountDto
{
/// <summary>
/// GID
/// </summary>
public string GID { get; set; }
/// <summary>
/// 邮箱
/// </summary>
public string EmailAccount { get; set; }
/// <summary>
/// 密码
/// </summary>
public string Password { get; set; }
/// <summary>
/// 收件服务器
/// </summary>
public string ReceiveServer { get; set; }
/// <summary>
/// 接收服务器类型是否IMAP 1-是 0-否
/// </summary>
public bool UseImap { get; set; } = true;
/// <summary>
/// 收件服务器端口
/// </summary>
public int? ReceivePort { get; set; }
/// <summary>
/// 收件服务器是否SSL
/// </summary>
public bool? ReceiveSsl { get; set; } = true;
/// <summary>
/// 发件服务器
/// </summary>
public string SmtpServer { get; set; }
/// <summary>
/// 发件服务器端口
/// </summary>
public int? SmtpPort { get; set; }
/// <summary>
/// 发件服务器是否SSL
/// </summary>
public bool? SmtpSsl { get; set; } = true;
/// <summary>
/// 解析配置列表
/// </summary>
public List<EmailParserConfigDto> ParserList { get; set; }
}
}