namespace Nop.Core.Domain.Messages; /// /// Represents an email item /// public partial class QueuedEmail : BaseEntity { /// /// Gets or sets the priority /// public int PriorityId { get; set; } /// /// Gets or sets the From property (email address) /// public string From { get; set; } /// /// Gets or sets the FromName property /// public string FromName { get; set; } /// /// Gets or sets the To property (email address) /// public string To { get; set; } /// /// Gets or sets the ToName property /// public string ToName { get; set; } /// /// Gets or sets the ReplyTo property (email address) /// public string ReplyTo { get; set; } /// /// Gets or sets the ReplyToName property /// public string ReplyToName { get; set; } /// /// Gets or sets the CC /// public string CC { get; set; } /// /// Gets or sets the BCC /// public string Bcc { get; set; } /// /// Gets or sets the subject /// public string Subject { get; set; } /// /// Gets or sets the body /// public string Body { get; set; } /// /// Gets or sets the attachment file path (full file path) /// public string AttachmentFilePath { get; set; } /// /// Gets or sets the attachment file name. If specified, then this file name will be sent to a recipient. Otherwise, "AttachmentFilePath" name will be used. /// public string AttachmentFileName { get; set; } /// /// Gets or sets the download identifier of attached file /// public int AttachedDownloadId { get; set; } /// /// Gets or sets the date and time of item creation in UTC /// public DateTime CreatedOnUtc { get; set; } /// /// Gets or sets the date and time in UTC before which this email should not be sent /// public DateTime? DontSendBeforeDateUtc { get; set; } /// /// Gets or sets the send tries /// public int SentTries { get; set; } /// /// Gets or sets the sent date and time /// public DateTime? SentOnUtc { get; set; } /// /// Gets or sets the used email account identifier /// public int EmailAccountId { get; set; } /// /// Gets or sets the priority /// public QueuedEmailPriority Priority { get => (QueuedEmailPriority)PriorityId; set => PriorityId = (int)value; } }