Class EmailLogMessage
Represents an email log message (list item or single message with events).
public sealed record EmailLogMessage : IEquatable<EmailLogMessage>
- Inheritance
-
EmailLogMessage
- Implements
Properties
Category
Message category.
[JsonPropertyName("category")]
public string? Category { get; set; }
Property Value
ClicksCount
Number of clicks.
[JsonPropertyName("clicks_count")]
public int ClicksCount { get; set; }
Property Value
ClientIp
Client IP address.
[JsonPropertyName("client_ip")]
public string? ClientIp { get; set; }
Property Value
CustomVariables
Custom variables. May be null when the API omits or returns null.
[JsonPropertyName("custom_variables")]
[JsonObjectCreationHandling(JsonObjectCreationHandling.Populate)]
public IDictionary<string, object?>? CustomVariables { get; set; }
Property Value
Events
Events for this message (single-message response only). May be null when the API omits or returns null.
[JsonPropertyName("events")]
[JsonObjectCreationHandling(JsonObjectCreationHandling.Populate)]
public IList<EmailLogMessageEvent>? Events { get; set; }
Property Value
From
Sender address.
[JsonPropertyName("from")]
public string? From { get; set; }
Property Value
MessageId
Message identifier (UUID).
[JsonPropertyName("message_id")]
public string? MessageId { get; set; }
Property Value
OpensCount
Number of opens.
[JsonPropertyName("opens_count")]
public int OpensCount { get; set; }
Property Value
RawMessageUrl
Signed URL to download raw .eml message (single-message response only).
[JsonPropertyName("raw_message_url")]
public string? RawMessageUrl { get; set; }
Property Value
SendingDomainId
Sending domain ID.
[JsonPropertyName("sending_domain_id")]
public long? SendingDomainId { get; set; }
Property Value
- long?
SendingStream
Sending stream.
[JsonPropertyName("sending_stream")]
public SendingStream SendingStream { get; set; }
Property Value
SentAt
When the message was sent.
[JsonPropertyName("sent_at")]
public DateTimeOffset? SentAt { get; set; }
Property Value
Status
Message status.
[JsonPropertyName("status")]
public EmailLogStatus Status { get; set; }
Property Value
Subject
Subject line.
[JsonPropertyName("subject")]
public string? Subject { get; set; }
Property Value
TemplateId
Template ID.
[JsonPropertyName("template_id")]
public long? TemplateId { get; set; }
Property Value
- long?
TemplateVariables
Template variables. May be null when the API omits or returns null.
[JsonPropertyName("template_variables")]
[JsonObjectCreationHandling(JsonObjectCreationHandling.Populate)]
public IDictionary<string, object?>? TemplateVariables { get; set; }
Property Value
To
Recipient address.
[JsonPropertyName("to")]
public string? To { get; set; }