Table of Contents

Class ReplyTo

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

Represents the Reply-To address parts of an email campaign.

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

Properties

DisplayName

Gets or sets the display name shown in the Reply-To header.

[JsonPropertyName("display_name")]
[JsonPropertyOrder(1)]
[JsonIgnore(Condition = JsonIgnoreCondition.WhenWritingNull)]
public string? DisplayName { get; set; }

Property Value

string

Reply-To display name.

Domain

Gets or sets the domain part of the Reply-To address.

[JsonPropertyName("domain")]
[JsonPropertyOrder(3)]
[JsonIgnore(Condition = JsonIgnoreCondition.WhenWritingNull)]
public string? Domain { get; set; }

Property Value

string

Reply-To domain.

LocalPart

Gets or sets the local part (before the @) of the Reply-To address.

[JsonPropertyName("local_part")]
[JsonPropertyOrder(2)]
[JsonIgnore(Condition = JsonIgnoreCondition.WhenWritingNull)]
public string? LocalPart { get; set; }

Property Value

string

Reply-To local part.