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.

49 lines
1.3 KiB
C#

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<ReqSendMailAttach> 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; }
}
}