Skip to content

Class MicrosoftGraphInvitationDeliveryMessage

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

Describes a prepared Microsoft Graph invitation delivery message.

public sealed class MicrosoftGraphInvitationDeliveryMessage

objectMicrosoftGraphInvitationDeliveryMessage

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

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

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

Creates a prepared Microsoft Graph invitation delivery message.

public MicrosoftGraphInvitationDeliveryMessage(string messageId, string senderUserId, string toEmail, string? toName, string subject, string textBody, string? htmlBody = null, IReadOnlyList<string>? categories = null, IReadOnlyDictionary<string, string>? headers = null, bool saveToSentItems = false)

messageId string

The deterministic Cephalon message identifier carried in request metadata.

senderUserId string

The Microsoft Graph sender mailbox scope or me.

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>?

Microsoft Graph categories attached to the message.

headers IReadOnlyDictionary<string, string>?

Safe Microsoft Graph internet message headers.

saveToSentItems bool

A value indicating whether Graph should save the message to Sent Items.

Gets Microsoft Graph categories attached to the message.

public IReadOnlyList<string> Categories { get; }

IReadOnlyList<string>

Gets a value indicating whether the message uses HTML content.

public bool HasHtmlBody { get; }

bool

Gets safe Microsoft Graph internet message headers.

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 request metadata.

public string MessageId { get; }

string

Gets a value indicating whether Graph should save the message to Sent Items.

public bool SaveToSentItems { get; }

bool

Gets the Microsoft Graph sender mailbox scope or me.

public string SenderUserId { 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 ToEmail { get; }

string

Gets the optional recipient display name.

public string? ToName { get; }

string?