/// <summary> /// Add an image which is referred to from another part of /// the email (probably the HTML attachment). You should /// set the ContentID of the file attachment before passing /// it in. /// </summary> /// <param name="fileattachment">The file attachment</param> public void AddRelatedAttachment(FileAttachment fileattachment) { _relatedfileattachments.Add(fileattachment); }
/// <summary> /// Add an attachment which will appear to the user as /// a separate file. (It is not referred to in the email itself.) /// </summary> /// <param name="fileattachment">The file attachment</param> public void AddMixedAttachment(FileAttachment fileattachment) { _mixedfileattachments.Add(fileattachment); }