Table of Contents

Property MaxInputOctets

Namespace
MailFathom.Application.Emails.Extraction.Attachments
Assembly
MailFathom.Application.dll

MaxInputOctets

Gets the greatest number of octets one attachment may hold before it is read at all.

public long MaxInputOctets { get; init; }

Property Value

long

Remarks

The bound on what is buffered. Every parser here needs to seek, so the content is held in memory for the length of one extraction, and this is what stops a single attachment from deciding how much memory the process needs. Sixteen mebibytes is well above the size a mail server accepts an attachment at.