网站首页 网站源码
website
站点相关全部源代码,隐藏了一些关于服务器的信息
using System;
using System.Collections.Generic;
using Dpz.Core.EnumLibrary;
using Dpz.Core.Infrastructure;
using Dpz.Core.Public.Entity;

namespace Dpz.Core.Public.ViewModel.Request;

public class AddEmailHistoryRequest : IMapFrom<EmailHistory>
{
    /// <summary>
    ///  收件人电子邮件地址
    /// </summary>
    public List<string> ToRecipients { get; set; }

    /// <summary>
    /// 抄送电子邮件地址
    /// </summary>
    public List<string> CcRecipients { get; set; }

    /// <summary>
    /// 邮件主题
    /// </summary>
    public string Subject { get; set; }

    /// <summary>
    /// 邮件发送时间
    /// </summary>
    public DateTime? SentTime { get; set; }

    /// <summary>
    /// 发送状态(成功或失败)
    /// </summary>
    public EmailSendStatus Status { get; set; }

    /// <summary>
    /// 发送失败时的错误信息(如果有的话)
    /// </summary>
    public string ErrorMessage { get; set; }

    /// <summary>
    /// 发送者的电子邮件地址
    /// </summary>
    public string SenderEmail { get; set; }

    /// <summary>
    /// 邮件内容的摘要或预览(可选)
    /// </summary>
    public string ContentPreview { get; set; }
    
    
}
loading