コード例 #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;
 }
コード例 #2
0
ファイル: User.cs プロジェクト: Dragonet17/WebMail
 public void AddEmailAccount(EmailAccount emailAccount)
 {
     EmailAccounts.Add(emailAccount);
 }