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.
|
|
|
|
using System;
|
|
|
|
|
using System.Collections.Generic;
|
|
|
|
|
using System.Linq;
|
|
|
|
|
using System.Text;
|
|
|
|
|
using System.Threading.Tasks;
|
|
|
|
|
|
|
|
|
|
namespace Myshipping.Application
|
|
|
|
|
{
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// 邮件账户配置表
|
|
|
|
|
/// </summary>
|
|
|
|
|
public class EmailUserAccountDto
|
|
|
|
|
{
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// 主键
|
|
|
|
|
/// </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; }
|
|
|
|
|
}
|
|
|
|
|
}
|