Share via


EmailMessage Constructors

Definition

Overloads

EmailMessage()

Creates a new instance of EmailMessage.

EmailMessage(String, String, String[])

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

EmailMessage()

Creates a new instance of EmailMessage.

public EmailMessage ();

Applies to

EmailMessage(String, String, String[])

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

public EmailMessage (string subject, string body, params string[] to);

Parameters

subject
System.String

The email subject.

body
System.String

The email body.

to
System.String[]

The email's recipients.

Applies to