/// <summary> /// Creates valid domain object /// </summary> public EmailMessage(EmailSender sender, string subject, string body, bool isBodyHTML, string fromAddress) : this() { Sender = sender; Subject = subject; Body = body; IsBodyHTML = isBodyHTML; FromAddress = fromAddress; }
/// <summary> /// Creates valid domain object /// </summary> public EmailMessage(EmailSender sender, string subject, string body, bool isBodyHTML, string fromAddress, EmailImportance importance, MessageQueuePriority priority) : this(sender, subject, body, isBodyHTML, fromAddress) { Importance = importance; Priority = priority; }