public Email(int id, string guid, EmailAccount from, EmailContact to, string subject, string message, bool isHtml, string batchId, DateTime initialSendDate, bool isSigned, bool isEncrypted, EmailSendStatus sendingStatus, DateTime dateCreated, string createdBy, DateTime dateLastEdited, string lastEditedBy) { Id = id; Guid = guid; From = from; To.Add(to); Subject = subject; Message = message; IsHtml = isHtml; BatchId = batchId; SendDate = initialSendDate; IsSigned = isSigned; IsEncrypted = isEncrypted; SendingStatus = sendingStatus; DateCreated = dateCreated; CreatedBy = createdBy; DateLastEdited = dateLastEdited; LastEditedBy = lastEditedBy; }
public Email( EmailAccount from, EmailContact to, string subject, string message, bool isHtml, string batchId, DateTime initialSendDate, bool isSigned, bool isEncrypted ) { From = from; To.Add(to); Subject = subject; Message = message; IsHtml = isHtml; BatchId = batchId; SendDate = initialSendDate; IsSigned = isSigned; IsEncrypted = isEncrypted; Guid = System.Guid.NewGuid().ToString(); DateCreated = DateTime.Now; DateLastEdited = DateTime.Now; SendingStatus = EmailSendStatus.PENDING; }
public void SendEmail(EmailContact to, string subject, string message, List <EmailAttachment> attachments, bool digitallySign, bool encrypt) { throw new NotImplementedException(); }
public void SendEmail(EmailContact to, string subject, string message) { throw new NotImplementedException(); }