Table of Contents

Class MailboxDrainCandidate

Namespace
MailFathom.Application.Synchronization.Drain
Assembly
MailFathom.Application.dll

One stored message of a held account whose source server still holds an occurrence of it.

public sealed record MailboxDrainCandidate : IEquatable<MailboxDrainCandidate>
Inheritance
MailboxDrainCandidate
Implements
Inherited Members

Remarks

The binding travels with the candidate for the reason it travels with an outstanding mutation: the occurrence names a folder without saying where it is, and the drain needs both — the path to select, and the alias to report.

Constructors

MailboxDrainCandidate(StoredEmailId, EmailOccurrenceId, MailFolderResolution, StoredEmailContentAvailability, DateTimeOffset?)

One stored message of a held account whose source server still holds an occurrence of it.

Properties

ContentAvailability

What the row says about whether the payload is stored.

ContentVerifiedAt

When the payload was last read back and matched what the row records, or null while it never has been.

Email

The stored message, by the identity that outlives the occurrence.

Folder

The binding the occurrence belongs to, including the remote path a write session selects.

Occurrence

Where the source still holds it, which is the UID the drain would expunge.

Methods

FindHoldBackInStoredState()

Judges the message on what the row alone says, before any payload is read.