Table of Contents

Class TrackingOptOut

Namespace
Mailtrap.TrackingOptOuts.Models
Assembly
Mailtrap.Abstractions.dll

Represents an email address that has opted out of open and click tracking.

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

Properties

CreatedAt

Gets or sets the timestamp when the tracking opt-out was created.

[JsonPropertyName("created_at")]
[JsonPropertyOrder(3)]
public DateTimeOffset? CreatedAt { get; set; }

Property Value

DateTimeOffset?

Creation timestamp.

DomainName

Gets or sets the sending domain the tracking opt-out applies to.

[JsonPropertyName("domain_name")]
[JsonPropertyOrder(4)]
public string? DomainName { get; set; }

Property Value

string

Sending domain name.

Email

Gets or sets the email address opted out of tracking.

[JsonPropertyName("email")]
[JsonPropertyOrder(2)]
public string Email { get; set; }

Property Value

string

Email address.

Id

Gets or sets the tracking opt-out identifier.

[JsonPropertyName("id")]
[JsonPropertyOrder(1)]
[JsonRequired]
public string Id { get; set; }

Property Value

string

Tracking opt-out identifier.