EmailMessage Class
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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. |