Constructor AttachmentDerivationEstimate
- 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
OutstandingEmailCountintHow many stored messages hold an attachment nothing has read yet.
OutstandingInputOctetCountlongThe octets those messages' attachments hold, which is what extraction would be handed.
OutstandingAttachmentCountlongHow 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.