Method SettleAsync
- Namespace
- MailFathom.Application.Synchronization.Restore
- Assembly
- MailFathom.Application.dll
SettleAsync(MailAccountId, MailboxRestoreAppendId, bool, CancellationToken)
Records what an operator found in the folder the unanswered append was issued against.
public Task<bool> SettleAsync(MailAccountId account, MailboxRestoreAppendId record, bool sourceHoldsTheCopy, CancellationToken cancellationToken)
Parameters
accountMailAccountIdThe account the record belongs to.
recordMailboxRestoreAppendIdThe record being settled.
sourceHoldsTheCopyboolWhether the operator found the copy in the folder.
cancellationTokenCancellationTokenPropagates caller cancellation.
Returns
Remarks
Under the custody permission rather than the configuration writer's, for the reason the switch itself is: a verdict of false puts a message back onto somebody's mail server, and one of true leaves a message MailFathom holds with no occurrence it will ever write. Both are acts on the mailbox rather than readings of it.
Exceptions
- PrincipalNotAuthorizedException
Thrown when the caller's grant omits
mailfathom.admin.custody.write.