Table of Contents

Constructor MailboxRestoreCandidate

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

MailboxRestoreCandidate(StoredEmailId, MailFolderAlias, RestoredEmailState, DateTimeOffset)

One stored message of a restoring account that its source server no longer holds.

public MailboxRestoreCandidate(StoredEmailId Email, MailFolderAlias SourceFolderAlias, RestoredEmailState State, DateTimeOffset InternalDate)

Parameters

Email StoredEmailId

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

SourceFolderAlias MailFolderAlias

The alias of the mapping whose folder the message is appended back into.

State RestoredEmailState

The flags and keywords the copy carries onto the source.

InternalDate DateTimeOffset

The instant the copy is appended under, which is the arrival the row recorded.

Remarks

The alias is carried rather than the resolution, because the folder the message goes back into is decided from the account's configuration at the moment the append is issued: a restore appends into the source folder the message's local folder maps onto, which is a mapping an operator may have rewritten since the drain took the message off.

Nothing of the message itself is here. The payload is read from the content store when the append is issued, so a pass that takes a hundred candidates in hand holds a hundred identities rather than a hundred mailboxes' worth of mail.