Class SmtpInvitationDeliveryMessage
Namespace: Cephalon.MultiTenancy.Governance.SmtpDelivery.Services
Assembly: Cephalon.MultiTenancy.Governance.SmtpDelivery.dll
Describes a prepared SMTP invitation delivery message.
public sealed class SmtpInvitationDeliveryMessageInheritance
Section titled “Inheritance”object ← SmtpInvitationDeliveryMessage
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”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)Parameters
Section titled “Parameters”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.
Properties
Section titled “Properties”FromAddress
Section titled “ FromAddress”Gets the sender email address.
public string FromAddress { get; }Property Value
Section titled “Property Value”FromDisplayName
Section titled “ FromDisplayName”Gets the optional sender display name.
public string? FromDisplayName { get; }Property Value
Section titled “Property Value”Headers
Section titled “ Headers”Gets safe additional SMTP 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 SMTP message identifier.
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”TextBody
Section titled “ TextBody”Gets the plain-text message body.
public string TextBody { get; }Property Value
Section titled “Property Value”ToAddress
Section titled “ ToAddress”Gets the recipient email address.
public string ToAddress { get; }Property Value
Section titled “Property Value”ToDisplayName
Section titled “ ToDisplayName”Gets the optional recipient display name.
public string? ToDisplayName { get; }