using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace DS.WMS.Core.Op.EDI { /// /// /// public class EmailApiDto { public string SendTo { get; set; } public string Title { get; set; } public string Body { get; set; } public string SmtpConfig { get; set; } = "NOREPLAY"; public bool isCallback { get; set; } = false; public List Attaches { get; set; } /// /// 抄送 /// public string CCTo { get; set; } /// /// 账号 /// public string Account { get; set; } /// /// 密码(126邮箱需要在网站生成密文) /// public string Password { get; set; } /// /// SMTP服务器 /// public string Server { get; set; } /// /// SMTP端口 /// public int Port { get; set; } /// /// 发件SSL /// public bool UseSSL { get; set; } } public class AttachesInfo { public string AttachName { get; set; } public string AttachContent { get; set; } } }