using System; using System.Collections.Generic; using System.Linq; using System.Web; namespace MailSend.Web.Models { public class ReqSendMail { 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; } public string Account { get; set; } public string Password { get; set; } public string Server { get; set; } public int Port { get; set; } public bool UseSSL { get; set; } public List Attaches { get; set; } } public class ReqSendMailAttach { public string AttachName { get; set; } public string AttachContent { get; set; } } public class ReqMailSendList { public string SendTo { get; set; } public string Title { get; set; } public string SendStatus { get; set; } public DateTime? SendTimeBegin { get; set; } public DateTime? SendTimeEnd { get; set; } public DateTime? CreateTimeBegin { get; set; } public DateTime? CreateTimeEnd { get; set; } public string Sender { get; set; } } }