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
BatchId
The batch whose content it carries, or null for a mail queued on its own.
public string BatchId { get; init; }
Property Value
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
Category
The category's key.
public required string Category { get; init; }
Property Value
ChangedAt
When it last changed, in UTC: when it was queued, sent, skipped, given up or reported bounced.
public DateTime ChangedAt { get; }
Property Value
CompletedAt
When it was sent, skipped or given up, in UTC; null while queued.
public DateTime? CompletedAt { get; init; }
Property Value
DeduplicationKey
The deduplication key it was queued with, if any.
public string DeduplicationKey { get; init; }
Property Value
Id
The mail's id.
public required string Id { get; init; }
Property Value
Kind
Which kind of mail it is.
public UserMailKind Kind { get; init; }
Property Value
MessageId
The Message-ID it was sent with; null until it is sent.
public string MessageId { get; init; }
Property Value
NextAttemptAt
When it is next due to be attempted while queued, in UTC.
public DateTime NextAttemptAt { get; init; }
Property Value
QueuedAt
When it was queued, in UTC.
public required DateTime QueuedAt { get; init; }
Property Value
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
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
RecipientName
The name a mail queued to an address alone is addressed to, or null.
public string RecipientName { get; init; }
Property Value
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
Status
Where it stands.
public required UserMailStatus Status { get; init; }
Property Value
Subject
The subject line.
public required string Subject { get; init; }
Property Value
TeamKey
The key of the team it is about, or null when it belongs to none or to several.
public string TeamKey { get; init; }