Table of Contents

Class BlacklistReport

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

Represents blacklist report for email message.

[JsonConverter(typeof(BlacklistReportJsonConverter))]
public sealed record BlacklistReport : IEquatable<BlacklistReport>
Inheritance
BlacklistReport
Implements

Properties

Domain

Gets sending domain of the message.

[JsonPropertyName("domain")]
[JsonPropertyOrder(2)]
public string? Domain { get; set; }

Property Value

string

Sending domain of the message.

Ip

Gets IP of the SMTP server.

[JsonPropertyName("ip")]
[JsonPropertyOrder(3)]
public string? Ip { get; set; }

Property Value

string

IP of the SMTP server.

Report

Gets a collection of blacklist report details from different reporting sources.

[JsonPropertyName("report")]
[JsonPropertyOrder(4)]
[JsonObjectCreationHandling(JsonObjectCreationHandling.Populate)]
public IList<BlacklistReportItem> Report { get; }

Property Value

IList<BlacklistReportItem>

A collection of blacklist report details from different reporting sources.

Result

Gets overall blacklist status of the message.

[JsonPropertyName("result")]
[JsonPropertyOrder(1)]
public BlacklistReportResult Result { get; set; }

Property Value

BlacklistReportResult

Overall blacklist status of the message.