Skip to content

Class SmtpInvitationDeliveryMessage

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

Describes a prepared SMTP invitation delivery message.

public sealed class SmtpInvitationDeliveryMessage

objectSmtpInvitationDeliveryMessage

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

SmtpInvitationDeliveryMessage(string, string, string?, string, string?, string, string, string?, IReadOnlyDictionary<string, string>?)

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

Creates a prepared SMTP invitation delivery message.

public SmtpInvitationDeliveryMessage(string messageId, string fromAddress, string? fromDisplayName, string toAddress, string? toDisplayName, string subject, string textBody, string? htmlBody = null, IReadOnlyDictionary<string, string>? headers = null)

messageId string

The deterministic SMTP message identifier.

fromAddress string

The sender email address.

fromDisplayName string?

The optional sender display name.

toAddress string

The recipient email address.

toDisplayName string?

The optional recipient display name.

subject string

The message subject.

textBody string

The plain-text message body.

htmlBody string?

The optional HTML message body.

headers IReadOnlyDictionary<string, string>?

Safe additional SMTP headers.

Gets the sender email address.

public string FromAddress { get; }

string

Gets the optional sender display name.

public string? FromDisplayName { get; }

string?

Gets safe additional SMTP headers.

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

IReadOnlyDictionary<string, string>

Gets the optional HTML message body.

public string? HtmlBody { get; }

string?

Gets the deterministic SMTP message identifier.

public string MessageId { get; }

string

Gets the message subject.

public string Subject { get; }

string

Gets the plain-text message body.

public string TextBody { get; }

string

Gets the recipient email address.

public string ToAddress { get; }

string

Gets the optional recipient display name.

public string? ToDisplayName { get; }

string?