Table of Contents

Property MaximumAttempts

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

MaximumAttempts

Gets or sets how many attempts one mutation may spend before it reaches its terminal failed stage.

public int MaximumAttempts { get; set; }

Property Value

int

Remarks

The bound exists so a change that cannot be made becomes visible instead of pending forever. A mail server that is refusing, a destination folder somebody deleted, or a message another client already removed are all failures that will fail identically tomorrow, and repeating them costs a login and a round trip each time while hiding the problem behind an operation that always looks busy.

It counts attempts of the whole mutation rather than retries inside one. The account's resilience pipeline already bounds a single command, so this is the outer bound over separate runs, each of which may be minutes or days apart. The count survives a crash because it is written before the attempt, which is what makes an attempt that kills the process count against it.