Table of Contents

Field MaximumEmails

Namespace
MailFathom.Application.Emails.GetEmailContent
Assembly
MailFathom.Application.dll

The greatest number of emails one read may name.

public const int MaximumEmails = 10

Returns

int
The greatest number of emails one read may name.

Remarks

A listing returns up to 100 summaries and a search up to 50 ranked matches, so a caller can always name more emails than one read serves. The bound is small deliberately: it is the count half of the control on how much mail one protocol call draws out of a mailbox, and a handful of messages is what a caller reads after a search rather than what it archives.

It lives on the request because that is what it constrains, so the boundary that checks a caller's list before parsing it and the use case that enforces the invariant afterwards read one number.