Property IncludeAttachmentDownloadLinks
- Namespace
- MailFathom.Application.Emails.GetEmailContent
- Assembly
- MailFathom.Application.dll
IncludeAttachmentDownloadLinks
Gets whether to also mint a link for fetching each attachment, rather than only describe it.
public bool IncludeAttachmentDownloadLinks { get; }
Property Value
Remarks
What every read answers is what the message carries: how many attachments, what each is called, what it declares itself to be, and how large it is. A caller deciding whether a file is worth fetching needs all of that, and a read that had to ask twice to learn a name would answer the first call with a number and nothing to act on.
The links are opt-in because each one is a short-lived bearer capability over the message's most sensitive part. They cost the response almost nothing, so what the flag buys is not size: it is that a read of bodies mints no capability nobody intended to hand out.