Table of Contents

Class ClaimedOutgoingEmail

Namespace
MailFathom.Application.Mail.Delivery.Outbox
Assembly
MailFathom.Application.dll

One queued send a claim handed to one attempt, with the lease that attempt holds it under.

public sealed record ClaimedOutgoingEmail : IEquatable<ClaimedOutgoingEmail>
Inheritance
ClaimedOutgoingEmail
Implements
Inherited Members

Remarks

The attempt count on the record includes this attempt, because the claim counted it. Counting at the claim rather than in whatever transmits is what makes the bound survive a crash loop: a process that dies mid-attempt never reaches a line that would have counted it, and a send that kills the host every time would otherwise be attempted forever.

Constructors

ClaimedOutgoingEmail(OutgoingEmailRecord, OutgoingEmailLease)

One queued send a claim handed to one attempt, with the lease that attempt holds it under.

Properties

Lease

The lease this attempt holds it under.

Record

The send this attempt holds, as the claim left it.