Table of Contents

Method GetUidValidityAsync

Namespace
MailFathom.Application.Synchronization.Sessions
Assembly
MailFathom.Application.dll

GetUidValidityAsync(CancellationToken)

Gets the selected folder UIDVALIDITY value.

Task<ImapUidValidity> GetUidValidityAsync(CancellationToken cancellationToken)

Parameters

cancellationToken CancellationToken

Cancels re-establishing the session when the connection was lost.

Returns

Task<ImapUidValidity>

The UIDVALIDITY the folder is selected with.

Exceptions

MailboxUnavailableException

Thrown when the mail server did not serve the session within its configured resilience budget.