Files
mixtape/zero.Core/Mails/Mail.cs
T

30 lines
601 B
C#
Raw Normal View History

2021-08-25 13:20:13 +02:00
using System.Net.Mail;
2020-11-13 13:50:25 +01:00
using zero.Core.Entities;
namespace zero.Core.Mails
{
public class Mail<T> : Mail where T : class
{
public T Model { get; set; }
}
2020-11-13 13:50:25 +01:00
public class Mail : MailMessage
{
2021-08-25 13:20:13 +02:00
public bool IsDeactivated { get; set; }
public string ViewPath { get; set; }
public bool HasView { get; set; } = true;
public bool IsRendered { get; set; }
2020-12-14 13:42:20 +01:00
public string Preheader { get; set; }
2021-05-04 17:23:52 +02:00
public MailTemplate Template { get; set; }
2020-11-13 13:50:25 +01:00
2020-12-14 15:52:43 +01:00
public MailPlaceholders Placeholders { get; set; } = new();
2020-11-26 16:13:00 +01:00
2020-12-14 15:52:43 +01:00
public MailMetadata Metadata { get; set; } = new();
2020-11-13 13:50:25 +01:00
}
}