Table of Contents

Class SmtpInformation

Namespace
Mailtrap.TestingMessages.Models
Assembly
Mailtrap.Abstractions.dll

Represents SMTP information for email message.

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

Properties

Details

Gets SMTP information details.

[JsonPropertyName("data")]
[JsonPropertyOrder(2)]
[JsonObjectCreationHandling(JsonObjectCreationHandling.Populate)]
public SmtpDetails Details { get; }

Property Value

SmtpDetails

SMTP information details.

Ok

Gets flag indicating if SMTP is ok.

[JsonPropertyName("ok")]
[JsonPropertyOrder(1)]
public bool? Ok { get; set; }

Property Value

bool?

true if SMTP is fine.
false otherwise.