EmailManager.ShowComposeNewEmailAsync(EmailMessage) EmailManager.ShowComposeNewEmailAsync(EmailMessage) EmailManager.ShowComposeNewEmailAsync(EmailMessage) EmailManager.ShowComposeNewEmailAsync(EmailMessage) EmailManager.ShowComposeNewEmailAsync(EmailMessage) Method

Definition

Launches the email application with a new message displayed.

public : static IAsyncAction ShowComposeNewEmailAsync(EmailMessage message)
static IAsyncAction ShowComposeNewEmailAsync(EmailMessage message) const;
public static IAsyncAction ShowComposeNewEmailAsync(EmailMessage message)
Public Shared Function ShowComposeNewEmailAsync(message As EmailMessage) As IAsyncAction
Windows.ApplicationModel.Email.EmailManager.showComposeNewEmailAsync(message).done( /* Your success and error handlers */ );

Parameters

message
EmailMessage EmailMessage 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.

Additional features and requirements

Capabilities
emailSystem email

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.