Table of Contents

Class EmailCampaignStateError

Namespace
Mailtrap.EmailCampaigns.Models
Assembly
Mailtrap.Abstractions.dll

Represents a per-recipient error recorded when sending an email campaign failed.

public sealed record EmailCampaignStateError : IEquatable<EmailCampaignStateError>
Inheritance
EmailCampaignStateError
Implements

Properties

Message

Gets or sets the error message.

[JsonPropertyName("message")]
[JsonPropertyOrder(1)]
public string? Message { get; set; }

Property Value

string

Error message.

RcptIndex

Gets or sets the index of the recipient the error relates to.

[JsonPropertyName("rcpt_index")]
[JsonPropertyOrder(2)]
public int RcptIndex { get; set; }

Property Value

int

Zero-based recipient index.