EmailMessage Class

Definition

Represents a single email message.

public ref class EmailMessage
public class EmailMessage
type EmailMessage = class
Public Class EmailMessage
Inheritance
EmailMessage

Constructors

EmailMessage()

Initializes a new instance of the EmailMessage class.

EmailMessage(String, String, String[])

Initializes a new instance of the EmailMessage class with the specified subject, body, and recipients.

Properties

Attachments

Gets or sets a list of file attachments as EmailAttachment objects.

Bcc

Gets or sets the email's BCC (Blind Carbon Copy) recipients.

Body

Gets or sets the email's body.

BodyFormat

Gets or sets a value indicating whether the message is in plain text or HTML.

Cc

Gets or sets the email's CC (Carbon Copy) recipients.

Subject

Gets or sets the email's subject.

To

Gets or sets the email's recipients.

Applies to