Class MailboxRestoreCandidate
- Namespace
- MailFathom.Application.Synchronization.Restore
- Assembly
- MailFathom.Application.dll
One stored message of a restoring account that its source server no longer holds.
public sealed record MailboxRestoreCandidate : IEquatable<MailboxRestoreCandidate>
- Inheritance
-
MailboxRestoreCandidate
- Implements
- Inherited Members
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.
Constructors
- MailboxRestoreCandidate(StoredEmailId, MailFolderAlias, RestoredEmailState, DateTimeOffset)
One stored message of a restoring account that its source server no longer holds.
Properties
The stored message, by the identity that outlives an occurrence.
- InternalDate
The instant the copy is appended under, which is the arrival the row recorded.
- SourceFolderAlias
The alias of the mapping whose folder the message is appended back into.
- State
The flags and keywords the copy carries onto the source.