Share via


IEmail.ComposeAsync(EmailMessage) Method

Definition

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

public:
 System::Threading::Tasks::Task ^ ComposeAsync(Microsoft::Maui::ApplicationModel::Communication::EmailMessage ^ message);
public System.Threading.Tasks.Task ComposeAsync (Microsoft.Maui.ApplicationModel.Communication.EmailMessage? message);
abstract member ComposeAsync : Microsoft.Maui.ApplicationModel.Communication.EmailMessage -> System.Threading.Tasks.Task
Public Function ComposeAsync (message As EmailMessage) As Task

Parameters

message
EmailMessage

Instance of EmailMessage containing details of the email message to compose.

Returns

A Task object with the current status of the asynchronous operation.

Applies to