Class SendGridInvitationDeliveryMessage
เนื้อหานี้ยังไม่ได้แปลเป็นภาษาไทย แสดงเป็นภาษาอังกฤษแทน
Namespace: Cephalon.MultiTenancy.Governance.SendGridDelivery.Services
Assembly: Cephalon.MultiTenancy.Governance.SendGridDelivery.dll
Describes a prepared SendGrid invitation delivery message.
public sealed class SendGridInvitationDeliveryMessageInheritance
Section titled “Inheritance”object ← SendGridInvitationDeliveryMessage
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”SendGridInvitationDeliveryMessage(string, string, string?, string, string?, string, string, string?, IReadOnlyList<string>?, IReadOnlyDictionary<string, string>?, IReadOnlyDictionary<string, string>?, bool)
Section titled “ SendGridInvitationDeliveryMessage(string, string, string?, string, string?, string, string, string?, IReadOnlyList<string>?, IReadOnlyDictionary<string, string>?, IReadOnlyDictionary<string, string>?, bool)”Creates a prepared SendGrid invitation delivery message.
public SendGridInvitationDeliveryMessage(string messageId, string fromEmail, string? fromName, string toEmail, string? toName, string subject, string textBody, string? htmlBody = null, IReadOnlyList<string>? categories = null, IReadOnlyDictionary<string, string>? customArgs = null, IReadOnlyDictionary<string, string>? headers = null, bool sandboxMode = false)Parameters
Section titled “Parameters”messageId string
The deterministic Cephalon message identifier carried in SendGrid custom arguments.
fromEmail string
The sender email address.
fromName string?
The optional sender display name.
toEmail string
The recipient email address.
toName 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.
categories IReadOnlyList<string>?
SendGrid categories attached to the message.
customArgs IReadOnlyDictionary<string, string>?
SendGrid custom arguments attached to the personalization.
headers IReadOnlyDictionary<string, string>?
Safe SendGrid message headers.
sandboxMode bool
A value indicating whether SendGrid sandbox mode should be enabled.
Properties
Section titled “Properties”Categories
Section titled “ Categories”Gets SendGrid categories attached to the message.
public IReadOnlyList<string> Categories { get; }Property Value
Section titled “Property Value”CustomArgs
Section titled “ CustomArgs”Gets SendGrid custom arguments attached to the personalization.
public IReadOnlyDictionary<string, string> CustomArgs { get; }Property Value
Section titled “Property Value”IReadOnlyDictionary<string, string>
FromEmail
Section titled “ FromEmail”Gets the sender email address.
public string FromEmail { get; }Property Value
Section titled “Property Value”FromName
Section titled “ FromName”Gets the optional sender display name.
public string? FromName { get; }Property Value
Section titled “Property Value”Headers
Section titled “ Headers”Gets safe SendGrid message headers.
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 SendGrid custom arguments.
public string MessageId { get; }Property Value
Section titled “Property Value”SandboxMode
Section titled “ SandboxMode”Gets a value indicating whether SendGrid sandbox mode should be enabled.
public bool SandboxMode { 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”TextBody
Section titled “ TextBody”Gets the plain-text message body.
public string TextBody { 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”ToName
Section titled “ ToName”Gets the optional recipient display name.
public string? ToName { get; }