Share via


EmailManager.ShowComposeNewEmailAsync(EmailMessage) Method

Definition

Launches the email application with a new message displayed.

public:
 static IAsyncAction ^ ShowComposeNewEmailAsync(EmailMessage ^ message);
/// [Windows.Foundation.Metadata.RemoteAsync]
 static IAsyncAction ShowComposeNewEmailAsync(EmailMessage const& message);
[Windows.Foundation.Metadata.RemoteAsync]
public static IAsyncAction ShowComposeNewEmailAsync(EmailMessage message);
function showComposeNewEmailAsync(message)
Public Shared Function ShowComposeNewEmailAsync (message As EmailMessage) As IAsyncAction

Parameters

message
EmailMessage

The email message that is displayed when the email application is launched.

Returns

An asynchronous action used to indicate when the operation has completed.

Attributes

Windows requirements

App capabilities
email emailSystem

Remarks

Call this method from the main UI thread.

Note

This method only sends plain text messages. You can't set the body of the message to the HTML format.

Applies to