Class MailOutboxPassReport
- Namespace
- MailFathom.Application.Mail.Delivery.Outbox
- Assembly
- MailFathom.Application.dll
Reports what one pass over an account's outbox did, and what it left standing there.
public sealed record MailOutboxPassReport : IEquatable<MailOutboxPassReport>
- Inheritance
-
MailOutboxPassReport
- Implements
- Inherited Members
Remarks
The results are per record and in the order they were claimed, so whoever publishes the pass reports one line and one measurement per send rather than a total that hides which one needs a person.
The depth beside them is what the pass left rather than what it did, and it is here because the pass is the one thing that runs on the outbox's own cadence: a level published from a collector's interval would be a database query on whatever schedule an exporter happened to be configured with. It covers the stages a send can still move from and no others, so it stays the backlog an operator alerts on rather than a count of everything ever sent.
Constructors
- MailOutboxPassReport(IReadOnlyList<MailOutboxDeliveryResult>, IReadOnlyList<OutgoingMailFilingResult>, IReadOnlyList<MailDraftFilingResult>, int, bool, IReadOnlyList<OutboxStageCount>)
Reports what one pass over an account's outbox did, and what it left standing there.
Properties
- AccountDeferred
Gets whether the pass met a submission server that would not serve it, which is what defers the account.
- BatchFilled
Whether the claim took as much as it was allowed, which means there is more waiting.
- DeferredCount
Gets how many of the claimed sends are waiting for another attempt.
- DraftResults
What each attempt to bring the drafts folder into step with a held draft did.
- DraftsNotSettledCount
Gets how many drafts this pass could not bring the mailbox into step with.
- DraftsSettledCount
Gets how many drafts this pass brought the mailbox into step with.
- Empty
A pass that never ran produces this: one that ended in a shutdown, a conflict, or a failure.
- FiledCount
Gets how many copies this pass put into a folder of the mailbox.
- FilingResults
What each attempt to put a copy of one of these messages into a folder did.
- MarkedUnknownCount
How many records this pass found stuck mid-transmission and stamped with the reason.
- NotFiledCount
Gets how many copies this pass could not put where the account asked for them.
- NotRecordedCount
Gets how many of the claimed sends ended with the store refusing to record what happened to them.
- OutstandingByStage
How much the pass left standing at each non-terminal stage, zeros included, and empty where it measured nothing at all.
- RefusedCount
Gets how many of the claimed sends nothing will offer again.
- Results
What each claimed send ended in.
- SentCount
Gets how many of the claimed sends the server acknowledged.
- UnknownOutcomeCount
Gets how many of the claimed sends ended with nobody able to say what their recipients received.
Methods
- WithDraftsAlone(IReadOnlyList<MailDraftFilingResult>)
Reports a pass that settled an account's drafts and reached no outbox at all.