Method ReportRefusedCredentialAsync
- Namespace
- MailFathom.Application.Notifications
- Assembly
- MailFathom.Application.dll
ReportRefusedCredentialAsync(MailAccountId, CancellationToken)
Reports an account whose credential the mail server refused.
public Task<bool> ReportRefusedCredentialAsync(MailAccountId account, CancellationToken cancellationToken)
Parameters
accountMailAccountIdThe account the server refused.
cancellationTokenCancellationTokenCancels the raise.
Returns
Remarks
This is the condition the deduplication rule exists for. A refused credential is refused again on every run until somebody replaces it, so the statement is made once and stays made until it has been read.