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.
64 lines
1.3 KiB
C#
64 lines
1.3 KiB
C#
using System;
|
|
using System.Collections.Generic;
|
|
using System.Linq;
|
|
using System.Text;
|
|
using System.Threading.Tasks;
|
|
|
|
namespace DS.WMS.Core.Op.EDI
|
|
{
|
|
/// <summary>
|
|
///
|
|
/// </summary>
|
|
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<AttachesInfo> Attaches { get; set; }
|
|
|
|
/// <summary>
|
|
/// 抄送
|
|
/// </summary>
|
|
public string CCTo { get; set; }
|
|
|
|
/// <summary>
|
|
/// 账号
|
|
/// </summary>
|
|
public string Account { get; set; }
|
|
|
|
/// <summary>
|
|
/// 密码(126邮箱需要在网站生成密文)
|
|
/// </summary>
|
|
public string Password { get; set; }
|
|
|
|
/// <summary>
|
|
/// SMTP服务器
|
|
/// </summary>
|
|
public string Server { get; set; }
|
|
|
|
/// <summary>
|
|
/// SMTP端口
|
|
/// </summary>
|
|
public int Port { get; set; }
|
|
|
|
/// <summary>
|
|
/// 发件SSL
|
|
/// </summary>
|
|
public bool UseSSL { get; set; }
|
|
}
|
|
|
|
public class AttachesInfo
|
|
{
|
|
public string AttachName { get; set; }
|
|
|
|
public string AttachContent { get; set; }
|
|
}
|
|
}
|