Udostępnij za pośrednictwem


Email.ComposeAsync Method

Definition

Overloads

ComposeAsync()

Opens the default email client to allow the user to send the message.

ComposeAsync(EmailMessage)

Opens the default email client to allow the user to send the message.

ComposeAsync(String, String, String[])

Opens the default email client to allow the user to send the message with the provided subject, body and recipients.

ComposeAsync()

Opens the default email client to allow the user to send the message.

public static System.Threading.Tasks.Task ComposeAsync ();

Returns

System.Threading.Tasks.Task

Applies to

ComposeAsync(EmailMessage)

Opens the default email client to allow the user to send the message.

public static System.Threading.Tasks.Task ComposeAsync (Xamarin.Essentials.EmailMessage message);

Parameters

message
EmailMessage

The email message.

Returns

System.Threading.Tasks.Task

Applies to

ComposeAsync(String, String, String[])

Opens the default email client to allow the user to send the message with the provided subject, body and recipients.

public static System.Threading.Tasks.Task ComposeAsync (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 recipients.

Returns

System.Threading.Tasks.Task

Applies to