EmailMessage Constructors

Definition

Overloads

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.

EmailMessage()

Source:
Email.shared.cs
Source:
Email.shared.cs

Initializes a new instance of the EmailMessage class.

public:
 EmailMessage();
public EmailMessage ();
Public Sub New ()

Applies to

EmailMessage(String, String, String[])

Source:
Email.shared.cs
Source:
Email.shared.cs

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

public:
 EmailMessage(System::String ^ subject, System::String ^ body, ... cli::array <System::String ^> ^ to);
public EmailMessage (string subject, string body, params string[] to);
new Microsoft.Maui.ApplicationModel.Communication.EmailMessage : string * string * string[] -> Microsoft.Maui.ApplicationModel.Communication.EmailMessage
Public Sub New (subject As String, body As String, ParamArray to As String())

Parameters

subject
String

The email subject.

body
String

The email body.

to
String[]

The email recipients.

Applies to