Table of Contents

Class MessageOptions

Namespace
PnP.Core.Model.Security
Assembly
PnP.Core.dll

The options for a message

public class MessageOptions
Inheritance
MessageOptions
Inherited Members

Properties

Attachments

Attachments of the mail message

public List<MessageAttachmentOptions> Attachments { get; set; }

Property Value

List<MessageAttachmentOptions>

BccRecipients

The Bcc: recipients for the message.

public List<RecipientOptions> BccRecipients { get; set; }

Property Value

List<RecipientOptions>

Body

The body of the message. It can be in HTML or text format.

public string Body { get; set; }

Property Value

string

BodyContentType

The type of the content. The possible values are text and html.

public MessageBodyContentType BodyContentType { get; set; }

Property Value

MessageBodyContentType

CcRecipients

The Cc: recipients for the message.

public List<RecipientOptions> CcRecipients { get; set; }

Property Value

List<RecipientOptions>

Importance

The importance of the message. The possible values are: low, normal, and high.

public MessageImportance Importance { get; set; }

Property Value

MessageImportance

ReplyTo

The email addresses to use when replying.

public List<RecipientOptions> ReplyTo { get; set; }

Property Value

List<RecipientOptions>

Subject

The subject of the message.

public string Subject { get; set; }

Property Value

string

ToRecipients

The To: recipients for the message.

public List<RecipientOptions> ToRecipients { get; set; }

Property Value

List<RecipientOptions>