Table of Contents

Class CreateInboundInboxRequest

Namespace
Mailtrap.Inbound.Requests
Assembly
Mailtrap.Abstractions.dll

Request object for creating an inbound inbox.
Omit DomainId for a Mailtrap-hosted inbox; set it to create a custom-domain (catch-all) inbox.

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

Properties

DomainId

Gets or sets the sending domain identifier for a custom-domain (catch-all) inbox.

[JsonPropertyName("domain_id")]
public long? DomainId { get; set; }

Property Value

long?

Sending domain identifier, or null for a Mailtrap-hosted inbox.

Name

Gets or sets the inbox name.

[JsonPropertyName("name")]
public string? Name { get; set; }

Property Value

string

Inbox name.