Table of Contents

Class UserMailHistoryItem

Namespace
Tharga.Team
Assembly
Tharga.Team.dll

One mail in a user's history.

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

Properties

Address

The address it was addressed to; null until it is sent, unless it was queued to an address alone.

public string Address { get; init; }

Property Value

string

Category

The key of the category it was sent in.

public required string Category { get; init; }

Property Value

string

ChangedAt

When it last changed, in UTC.

public required DateTime ChangedAt { get; init; }

Property Value

DateTime

Id

The mail's id.

public required string Id { get; init; }

Property Value

string

Kind

Which kind of mail it was.

public required UserMailKind Kind { get; init; }

Property Value

UserMailKind

QueuedAt

When it was queued, in UTC.

public required DateTime QueuedAt { get; init; }

Property Value

DateTime

Reason

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

public string Reason { get; init; }

Property Value

string

RecipientName

The name of the user it is for, or of the contact or invited person it is addressed to when it has one. Set in the global log only.

public string RecipientName { get; init; }

Property Value

string

RecipientUserKey

The key of the user it is for; null for a mail to an address alone. Set in the global log only.

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; null when it records none. Set in the global log only.

public string TeamKey { get; init; }

Property Value

string