public EmailAttachment Add(byte[] fileBytes, string saveAs) { EmailAttachment o_Attachment = new EmailAttachment(fileBytes, saveAs); this.Add(o_Attachment); return o_Attachment; }
public void Add(EmailAttachment emailAttachment) { this.List.Add(emailAttachment); }
public EmailAttachment Add(string originalName, string saveAs) { EmailAttachment o_Attachment = new EmailAttachment(originalName, saveAs); this.Add(o_Attachment); return o_Attachment; }