Table of Contents

Method RepointAsync

Namespace
MailFathom.Application.Folders
Assembly
MailFathom.Application.dll

RepointAsync(MailAccountId, MailFolderAlias, RemoteFolderPath, CancellationToken)

Points a folder the account already declares at the path it has been renamed or moved to.

Task<MailFolderDeclarationOutcome> RepointAsync(MailAccountId accountId, MailFolderAlias folderAlias, RemoteFolderPath path, CancellationToken cancellationToken)

Parameters

accountId MailAccountId

The account.

folderAlias MailFolderAlias

The alias the folder is declared under, which this does not change.

path RemoteFolderPath

The path the server now advertises the folder at.

cancellationToken CancellationToken

Propagates caller cancellation.

Returns

Task<MailFolderDeclarationOutcome>

What the write did.