Table of Contents

Method PastMessageBudget

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

PastMessageBudget(int, string, string?)

Records an attachment the message's own ceiling stopped before anything was offered a parser.

public static DerivedAttachmentText PastMessageBudget(int position, string declaredMediaType, string? fileName)

Parameters

position int

The attachment's walk position.

declaredMediaType string

The media type the part declared.

fileName string

The normalized file name, or null.

Returns

DerivedAttachmentText

The derivation to store.

Remarks

Written rather than omitted, because ADR 0029 records an attachment past a ceiling as having yielded none rather than leaving it absent: a user asking why their contract was not searched is owed the ceiling as an answer. Kind is Document because nothing here opened the file far enough to know what it is, and the value decides nothing for a row carrying no words — neither index holds one either way.

Exceptions

ArgumentNullException

Thrown when declaredMediaType is null.