Skip to content

Class SmtpInvitationDeliveryClientResult

Namespace: Cephalon.MultiTenancy.Governance.SmtpDelivery.Services
Assembly: Cephalon.MultiTenancy.Governance.SmtpDelivery.dll

Describes the result returned by an SMTP invitation delivery client.

public sealed class SmtpInvitationDeliveryClientResult

objectSmtpInvitationDeliveryClientResult

object.Equals(object?), object.Equals(object?, object?), object.GetHashCode(), object.GetType(), object.ReferenceEquals(object?, object?), object.ToString()

SmtpInvitationDeliveryClientResult(bool, string?, string?, IReadOnlyDictionary<string, string>?)

Section titled “ SmtpInvitationDeliveryClientResult(bool, string?, string?, IReadOnlyDictionary<string, string>?)”

Creates an SMTP invitation delivery client result.

public SmtpInvitationDeliveryClientResult(bool accepted, string? providerMessageId = null, string? reason = null, IReadOnlyDictionary<string, string>? metadata = null)

accepted bool

A value indicating whether the SMTP relay accepted the message.

providerMessageId string?

The provider or relay message identifier when one is known.

reason string?

The provider-facing outcome reason.

metadata IReadOnlyDictionary<string, string>?

Optional safe client metadata.

Gets a value indicating whether the SMTP relay accepted the message.

public bool Accepted { get; }

bool

Gets optional safe client metadata.

public IReadOnlyDictionary<string, string> Metadata { get; }

IReadOnlyDictionary<string, string>

Gets the provider or relay message identifier when one is known.

public string? ProviderMessageId { get; }

string?

Gets the provider-facing outcome reason.

public string? Reason { get; }

string?