Table of Contents

Constructor AttachmentDerivationEstimate

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

AttachmentDerivationEstimate(int, long, long)

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

public AttachmentDerivationEstimate(int OutstandingEmailCount, long OutstandingInputOctetCount, long OutstandingAttachmentCount)

Parameters

OutstandingEmailCount int

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

OutstandingInputOctetCount long

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

OutstandingAttachmentCount long

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

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.