Table of Contents

Class UserMailDelivery

Namespace
Tharga.Team
Assembly
Tharga.Team.dll

What became of one queued mail.

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

Properties

Attempts

How many times sending it has been attempted.

public int Attempts { get; init; }

Property Value

int

BatchId

The batch whose content it carries, or null for a mail queued on its own.

public string BatchId { get; init; }

Property Value

string

BouncedAt

When the receiving server's report that it bounced was read, in UTC; null unless it bounced.

public DateTime? BouncedAt { get; init; }

Property Value

DateTime?

Category

The category's key.

public required string Category { get; init; }

Property Value

string

ChangedAt

When it last changed, in UTC: when it was queued, sent, skipped, given up or reported bounced.

public DateTime ChangedAt { get; }

Property Value

DateTime

CompletedAt

When it was sent, skipped or given up, in UTC; null while queued.

public DateTime? CompletedAt { get; init; }

Property Value

DateTime?

DeduplicationKey

The deduplication key it was queued with, if any.

public string DeduplicationKey { get; init; }

Property Value

string

Id

The mail's id.

public required string Id { get; init; }

Property Value

string

Kind

Which kind of mail it is.

public UserMailKind Kind { get; init; }

Property Value

UserMailKind

MessageId

The Message-ID it was sent with; null until it is sent.

public string MessageId { get; init; }

Property Value

string

NextAttemptAt

When it is next due to be attempted while queued, in UTC.

public DateTime NextAttemptAt { get; init; }

Property Value

DateTime

QueuedAt

When it was queued, in UTC.

public required DateTime QueuedAt { get; init; }

Property Value

DateTime

Reason

Why it was skipped, failed or bounced, or why the last attempt did not succeed while it waits to be tried again.

public string Reason { get; init; }

Property Value

string

RecipientAddress

The address the mail was addressed to: the one it was queued with, or for a mail to a user the one on their record when it was sent; null until then.

public string RecipientAddress { get; init; }

Property Value

string

RecipientName

The name a mail queued to an address alone is addressed to, or null.

public string RecipientName { get; init; }

Property Value

string

RecipientUserKey

The key of the user the mail is for; null for a mail queued to an address alone.

public string RecipientUserKey { get; init; }

Property Value

string

Status

Where it stands.

public required UserMailStatus Status { get; init; }

Property Value

UserMailStatus

Subject

The subject line.

public required string Subject { get; init; }

Property Value

string

TeamKey

The key of the team it is about, or null when it belongs to none or to several.

public string TeamKey { get; init; }

Property Value

string