Sdílet prostřednictvím


EmailMessage Class

Definition

Represents a single email message.

public class EmailMessage
Inheritance
System.Object
EmailMessage

Constructors

EmailMessage()

Creates a new instance of EmailMessage.

EmailMessage(String, String, String[])

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

Properties

Attachments

Gets or sets a list of file attachments.

Bcc

Gets or sets the email's BCC 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 (not supported on UWP).

Cc

Gets or sets the email's CC recipients.

Subject

Gets or sets the email's subject.

To

Gets or sets the email's recipients.

Applies to