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 class EmailMessage
- Inheritance
-
System.ObjectEmailMessage
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. |