Пример #1
0
 /// <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;
 }
Пример #2
0
 /// <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;
 }