namespace zero.Mails;
[RavenCollection("MailTemplates")]
public class MailTemplate : ZeroEntity
{
///
/// Email address of the sender (overrides email from application)
///
public string SenderEmail { get; set; }
///
/// Name of the sender (overrides name from application)
///
public string SenderName { get; set; }
///
/// Email address of the recipient. This is only necessary for templates which do not have a dynamic recipient (e.g. reports).
///
public string RecipientEmail { get; set; }
///
/// Additional comma-separated emails to send a copy to
///
public string Cc { get; set; }
///
/// Additional comma-separated emails to send a hidden copy to
///
public string Bcc { get; set; }
///
/// Email subject (can contain placeholders)
///
public string Subject { get; set; }
///
/// Email body (can contain placeholders)
///
public string Body { get; set; }
///
/// Preheader which is displayed in the preview pane (can contain placeholders)
///
public string Preheader { get; set; }
}