Beispiel #1
0
 public SendedEmailMessage(string from, ICollection <string> to, string subject, string textBody, EmailAccount emailAccount)
 {
     From = from;
     SetTo(to);
     SendedAt      = DateTime.UtcNow;
     LastActivity  = DateTime.UtcNow;
     Subject       = subject;
     TextHTMLBody  = textBody;
     HasAttachment = false;
     Deleted       = false;
     EmailAccount  = emailAccount;
 }
Beispiel #2
0
 public void AddEmailAccount(EmailAccount emailAccount)
 {
     EmailAccounts.Add(emailAccount);
 }