Constructor ReadEmailAttachment
- Namespace
- MailFathom.Application.Emails.GetEmailContent
- Assembly
- MailFathom.Application.dll
ReadEmailAttachment(ExtractedEmailAttachment, AttachmentDownload)
One attachment as a read returns it: what the part is, and how its content is reached.
public ReadEmailAttachment(ExtractedEmailAttachment Description, AttachmentDownload Download)
Parameters
DescriptionExtractedEmailAttachmentThe normalized file name, the media type, and the decoded size the parse measured.
DownloadAttachmentDownloadThe link that fetches it, or the reason this read minted none.
Remarks
The description stays the type extraction produces, which carries no content, so the parse that fills the lexical index cannot acquire attachment octets by sharing a type with the parse that serves a reader. Neither can this one: what is paired with the description here is a capability to fetch the file, never the file.