|
|
|
@ -0,0 +1,44 @@
|
|
|
|
|
using System;
|
|
|
|
|
using System.Collections.Generic;
|
|
|
|
|
using System.Linq;
|
|
|
|
|
using System.Text;
|
|
|
|
|
using System.Threading.Tasks;
|
|
|
|
|
|
|
|
|
|
namespace Myshipping.Application
|
|
|
|
|
{
|
|
|
|
|
public class EmailApiDto
|
|
|
|
|
{
|
|
|
|
|
public string SendTo { get; set; }
|
|
|
|
|
|
|
|
|
|
//public string CCTo { get; set; }
|
|
|
|
|
|
|
|
|
|
public string Title { get; set; }
|
|
|
|
|
|
|
|
|
|
public string Body { get; set; }
|
|
|
|
|
|
|
|
|
|
//public string ShowName { get; set; }
|
|
|
|
|
|
|
|
|
|
public string SmtpConfig { get; set; } = "SERVICE";
|
|
|
|
|
|
|
|
|
|
//public string Account { get; set; }
|
|
|
|
|
|
|
|
|
|
//public string Password { get; set; }
|
|
|
|
|
|
|
|
|
|
//public string Server { get; set; }
|
|
|
|
|
|
|
|
|
|
//public string Port { get; set; }
|
|
|
|
|
|
|
|
|
|
//public string UseSSL { get; set; }
|
|
|
|
|
|
|
|
|
|
public bool isCallback { get; set; } = false;
|
|
|
|
|
|
|
|
|
|
public List<AttachesInfo> Attaches { get; set; }
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
public class AttachesInfo
|
|
|
|
|
{
|
|
|
|
|
public string AttachName { get; set; }
|
|
|
|
|
|
|
|
|
|
public string AttachContent { get; set; }
|
|
|
|
|
}
|
|
|
|
|
}
|