Skip to main content

EmailMessage

Namespace: Wisej.Hybrid

Assembly: Wisej.Hybrid (4.1.0.0)

Represents a single email message.

public class EmailMessage

Constructors​

Instance member EmailMessage()​

Initializes a new instance of the EmailMessage class.

Instance member EmailMessage(subject, body, to)​

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

NameTypeDescription
subjectStringThe email subject.
bodyStringThe email body.
toString[]The email recipients.

Properties​

Instance member Bcc​

List<String>: Gets or sets the email's BCC (Blind Carbon Copy) recipients.

Instance member Body​

String: Gets or sets the email's body.

Instance member BodyFormat​

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

Html is not supported on Windows.

Instance member Cc​

List<String>: Gets or sets the email's CC (Carbon Copy) recipients.

Instance member Subject​

String: Gets or sets the email's subject.

Instance member To​

List<String>: Gets or sets the email's recipients.