Table of Contents

Class AttachmentDerivationEstimate

Namespace
MailFathom.Application.Emails.AttachmentText.Administration
Assembly
MailFathom.Application.dll

Roughly what reading the attachments of the mail already stored would consume.

public sealed record AttachmentDerivationEstimate : IEquatable<AttachmentDerivationEstimate>
Inheritance
AttachmentDerivationEstimate
Implements
Inherited Members

Remarks

An order of magnitude rather than an invoice, which is the same caveat the message-embedding estimate carries. The octet figure is what the mail server reported for those parts and is therefore an upper bound on what a parser is handed: the per-attachment, per-message, and per-run ceilings each cut it further, and an attachment of a format this deployment does not read is counted here and parsed nowhere.

The attachment count bounds descriptions rather than predicting them, and deliberately so: whether a part is a picture is settled by offering it to the extractor first, which cannot be known before the message is opened. An operator reading this is being told the worst case, which is the number worth agreeing to in advance.

Counts alone. No file name, media type, subject, or word is describable from any of them.

Constructors

AttachmentDerivationEstimate(int, long, long)

Roughly what reading the attachments of the mail already stored would consume.

Properties

IsComplete

Gets whether there is nothing left for a reading to reach.

Nothing

Gets an estimate with nothing left to read, which is what an instance holding no mail reports.

OutstandingAttachmentCount

How many attachments those messages hold, which bounds how many descriptions could be asked for.

OutstandingEmailCount

How many stored messages hold an attachment nothing has read yet.

OutstandingInputOctetCount

The octets those messages' attachments hold, which is what extraction would be handed.