Class MailgunInvitationDeliveryMessage
เนื้อหานี้ยังไม่ได้แปลเป็นภาษาไทย แสดงเป็นภาษาอังกฤษแทน
Namespace: Cephalon.MultiTenancy.Governance.MailgunDelivery.Services
Assembly: Cephalon.MultiTenancy.Governance.MailgunDelivery.dll
Describes a prepared Mailgun invitation delivery message.
public sealed class MailgunInvitationDeliveryMessageInheritance
Section titled “Inheritance”object ← MailgunInvitationDeliveryMessage
Inherited Members
Section titled “Inherited Members”object.Equals(object?), object.Equals(object?, object?), object.GetHashCode(), object.GetType(), object.ReferenceEquals(object?, object?), object.ToString()
Constructors
Section titled “Constructors”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)Parameters
Section titled “Parameters”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.
Properties
Section titled “Properties”Gets the formatted sender address.
public string From { get; }Property Value
Section titled “Property Value”Headers
Section titled “ Headers”Gets Mailgun custom headers attached to the message.
public IReadOnlyDictionary<string, string> Headers { get; }Property Value
Section titled “Property Value”IReadOnlyDictionary<string, string>
HtmlBody
Section titled “ HtmlBody”Gets the optional HTML message body.
public string? HtmlBody { get; }Property Value
Section titled “Property Value”MessageId
Section titled “ MessageId”Gets the deterministic Cephalon message identifier carried in Mailgun user variables.
public string MessageId { get; }Property Value
Section titled “Property Value”Subject
Section titled “ Subject”Gets the message subject.
public string Subject { get; }Property Value
Section titled “Property Value”Gets Mailgun tags attached to the message.
public IReadOnlyList<string> Tags { get; }Property Value
Section titled “Property Value”TestMode
Section titled “ TestMode”Gets a value indicating whether Mailgun test mode should be enabled.
public bool TestMode { get; }Property Value
Section titled “Property Value”TextBody
Section titled “ TextBody”Gets the plain-text message body.
public string TextBody { get; }Property Value
Section titled “Property Value”Gets the formatted recipient address.
public string To { get; }Property Value
Section titled “Property Value”ToEmail
Section titled “ ToEmail”Gets the recipient email address.
public string ToEmail { get; }Property Value
Section titled “Property Value”Variables
Section titled “ Variables”Gets Mailgun user variables attached to the message.
public IReadOnlyDictionary<string, string> Variables { get; }