Table of Contents

Class MailboxSynchronizationResult

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

Summarizes one mailbox synchronization run.

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

Remarks

The binding is reported because resolution happens inside the run and a caller that wants to keep watching the folder afterwards must watch the remote folder the alias actually resolved to. Re-resolving it outside the run would cost a second listing and could answer differently, which is how an alias ends up watched in one place and synchronized in another.

Constructors

MailboxSynchronizationResult(MailboxSynchronizationOutcome, MailFolderResolution?, int, int, int, int, bool, SynchronizationCheckpoint?, MailboxReconciliationResult, IReadOnlyList<SuppressedMailboxChange>)

Summarizes one mailbox synchronization run.

Properties

Checkpoint

The progress the run ended on, which is present exactly when Outcome is Synchronized.

Folder

The binding the run worked under, which is present exactly when Outcome is Synchronized.

HasMoreEmails

Whether the folder still held unprocessed emails when the run's batch budget ran out.

Outcome

Whether the run reached a folder.

Reconciliation

What the run's backward pass found among the emails already stored for this folder.

RelocatedEmailCount

How many discovered occurrences were an email MailFathom had relocated into this folder, and so carried the existing local email across instead of storing a second one. They are counted apart from the stored ones because no mail arrived: the mailbox holds exactly what it held before the run.

SkippedOversizedEmailCount

How many occurrences were stored as metadata only.

StoredEmailCount

How many occurrences were stored with their content.

SuppressedChanges

Every change this run discovered and did not raise, because a durable mutation record said MailFathom had made it — both passes together, since one relocation arrives as an appearance in the forward pass and a disappearance in the backward one. Without it a rule that files mail would match the mail it had just filed, indefinitely.

UnreadableMimeEmailCount

How many stored occurrences carried MIME that enrichment could not read.

Methods

FolderNotResolved(MailFolderResolutionOutcome)

Reports a configured alias that named no single advertised folder.

Synchronized(MailFolderResolution, int, int, int, int, bool, SynchronizationCheckpoint, MailboxReconciliationResult, IReadOnlyList<SuppressedMailboxChange>)

Reports a run that reached its folder.