EmailMessage
Namespace: Wisej.Hybrid.Shared.Communication
Assembly: Wisej.Hybrid
Represents a single email message.
- C#
- VB.NET
public class EmailMessage
Public Class EmailMessage
Constructors
EmailMessage()
Initializes a new instance of the EmailMessage class.
EmailMessage(subject, body, to)
Initializes a new instance of the EmailMessage class with the specified subject, body, and recipients.
| Name | Type | Description |
|---|---|---|
| subject | String | The email subject. |
| body | String | The email body. |
| to | String[] | The email recipients. |
Properties
Bcc
List<String>: Gets or sets the email's BCC (Blind Carbon Copy) recipients.
Body
String: Gets or sets the email's body.
BodyFormat
EmailBodyFormat: Gets or sets a value indicating whether the message is in plain text or HTML.
Html is not supported on Windows.
Cc
List<String>: Gets or sets the email's CC (Carbon Copy) recipients.
Subject
String: Gets or sets the email's subject.
To
List<String>: Gets or sets the email's recipients.