ข้ามไปยังเนื้อหา

Class MailgunInvitationDeliveryMessage

เนื้อหานี้ยังไม่ได้แปลเป็นภาษาไทย แสดงเป็นภาษาอังกฤษแทน

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

Describes a prepared Mailgun invitation delivery message.

public sealed class MailgunInvitationDeliveryMessage

objectMailgunInvitationDeliveryMessage

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

MailgunInvitationDeliveryMessage(string, string, string, string, string, string, string?, IReadOnlyList<string>?, IReadOnlyDictionary<string, string>?, IReadOnlyDictionary<string, string>?, bool)

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

Creates a prepared Mailgun invitation delivery message.

public MailgunInvitationDeliveryMessage(string messageId, string from, string to, string toEmail, string subject, string textBody, string? htmlBody = null, IReadOnlyList<string>? tags = null, IReadOnlyDictionary<string, string>? variables = null, IReadOnlyDictionary<string, string>? headers = null, bool testMode = false)

messageId string

The deterministic Cephalon message identifier carried in Mailgun user variables.

from string

The formatted sender address.

to string

The formatted recipient address.

toEmail string

The recipient email address.

subject string

The message subject.

textBody string

The plain-text message body.

htmlBody string?

The optional HTML message body.

tags IReadOnlyList<string>?

Mailgun tags attached to the message.

variables IReadOnlyDictionary<string, string>?

Mailgun user variables attached to the message.

headers IReadOnlyDictionary<string, string>?

Mailgun custom headers attached to the message.

testMode bool

A value indicating whether Mailgun test mode should be enabled.

Gets the formatted sender address.

public string From { get; }

string

Gets Mailgun custom headers attached to the message.

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

IReadOnlyDictionary<string, string>

Gets the optional HTML message body.

public string? HtmlBody { get; }

string?

Gets the deterministic Cephalon message identifier carried in Mailgun user variables.

public string MessageId { get; }

string

Gets the message subject.

public string Subject { get; }

string

Gets Mailgun tags attached to the message.

public IReadOnlyList<string> Tags { get; }

IReadOnlyList<string>

Gets a value indicating whether Mailgun test mode should be enabled.

public bool TestMode { get; }

bool

Gets the plain-text message body.

public string TextBody { get; }

string

Gets the formatted recipient address.

public string To { get; }

string

Gets the recipient email address.

public string ToEmail { get; }

string

Gets Mailgun user variables attached to the message.

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

IReadOnlyDictionary<string, string>