Table of Contents

Class UpdateSendingDomainRequest

Namespace
Mailtrap.SendingDomains.Requests
Assembly
Mailtrap.Abstractions.dll

Request object for updating sending domain configuration. Only properties set on the request are sent.

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

Properties

AutoUnsubscribeLinkEnabled

Gets or sets a value indicating whether an unsubscribe link is added to emails automatically.

[JsonPropertyName("auto_unsubscribe_link_enabled")]
[JsonPropertyOrder(4)]
[JsonIgnore(Condition = JsonIgnoreCondition.WhenWritingNull)]
public bool? AutoUnsubscribeLinkEnabled { get; set; }

Property Value

bool?

Automatic unsubscribe link flag or null to leave unchanged.

ClickTrackingEnabled

Gets or sets a value indicating whether click tracking is enabled.

[JsonPropertyName("click_tracking_enabled")]
[JsonPropertyOrder(2)]
[JsonIgnore(Condition = JsonIgnoreCondition.WhenWritingNull)]
public bool? ClickTrackingEnabled { get; set; }

Property Value

bool?

Click tracking flag or null to leave unchanged.

InboundEnabled

Gets or sets a value indicating whether inbound email is enabled for the domain, so it can be attached to an inbound inbox as a catch-all.

[JsonPropertyName("inbound_enabled")]
[JsonPropertyOrder(5)]
[JsonIgnore(Condition = JsonIgnoreCondition.WhenWritingNull)]
public bool? InboundEnabled { get; set; }

Property Value

bool?

Inbound flag or null to leave unchanged.

OpenTrackingEnabled

Gets or sets a value indicating whether open tracking is enabled.

[JsonPropertyName("open_tracking_enabled")]
[JsonPropertyOrder(1)]
[JsonIgnore(Condition = JsonIgnoreCondition.WhenWritingNull)]
public bool? OpenTrackingEnabled { get; set; }

Property Value

bool?

Open tracking flag or null to leave unchanged.

TrackingOptOutEnabled

Gets or sets a value indicating whether the tracking opt-out link is enabled.
Requires open or click tracking to be enabled.

[JsonPropertyName("tracking_opt_out_enabled")]
[JsonPropertyOrder(3)]
[JsonIgnore(Condition = JsonIgnoreCondition.WhenWritingNull)]
public bool? TrackingOptOutEnabled { get; set; }

Property Value

bool?

Tracking opt-out flag or null to leave unchanged.