Table of Contents

Constructor MailboxDestination

Namespace
MailFathom.Application.Mail.Mutations.Destinations
Assembly
MailFathom.Application.dll

MailboxDestination(MailFolderResolution, bool)

The folder a mutation files into, as the account's server currently holds it.

public MailboxDestination(MailFolderResolution Binding, bool IsMirrored)

Parameters

Binding MailFolderResolution

The alias binding the folder is currently resolved under.

IsMirrored bool

Whether the account mirrors the folder's mail.

Remarks

The binding rather than the path alone, because the three things that need a destination need different parts of it and none of them can be derived from another at the point of use. The request carries the path; the rule history names the alias, which a rule written against a role never spelled out; and a caller that has to open a write session on the folder needs the whole binding, since a session's occurrence scope is the generation the binding carries.

Whether the folder is mirrored stays a separate answer, because it is a property of the mapping rather than of the binding. It is what decides the local disposition a relocation is authored with: a message moved somewhere MailFathom keeps no copy of has left the mirrored mailbox for good.