Class SentContactMessage
- Namespace
- Tharga.Team
- Assembly
- Tharga.Team.dll
A message to contacts as the log keeps it: what it was, who sent it in which category, and what became of each mail.
public sealed record SentContactMessage : IEquatable<SentContactMessage>
- Inheritance
-
SentContactMessage
- Implements
- Inherited Members
Properties
AttachmentCount
How many files it carried.
public int AttachmentCount { get; init; }
Property Value
Category
The contact category's key.
public required string Category { get; init; }
Property Value
Id
The message's id.
public required string Id { get; init; }
Property Value
LeftOutCount
How many listed addresses were left out when it was sent: not addresses, or for the host's reason.
public int LeftOutCount { get; init; }
Property Value
OptedOutCount
How many listed addresses had opted out when it was sent, and were not queued.
public int OptedOutCount { get; init; }
Property Value
Outcomes
How many of its queued mails stand where; an address that opted out after it was queued is counted as skipped.
public required UserMailOutcomes Outcomes { get; init; }
Property Value
RecipientCount
How many addresses one mail was queued to.
public required int RecipientCount { get; init; }
Property Value
Recipients
Every distinct address listed and where it stood when the message was sent, with the host's references; filled only by SendAsync(ContactMessage, CancellationToken).
public ContactMessageRecipient[] Recipients { get; init; }
Property Value
SentAt
When it was sent, in UTC.
public required DateTime SentAt { get; init; }
Property Value
SentByName
The name of whoever sent it, as it was when they sent it.
public string SentByName { get; init; }
Property Value
SentByUserKey
The key of the user who sent it, or null when the sender had no user record.
public string SentByUserKey { get; init; }
Property Value
Subject
The subject line.
public required string Subject { get; init; }