Dela via


EmailManagerForUser.ShowComposeNewEmailAsync(EmailMessage) Method

Definition

Launches the email application with a new message displayed.

public:
 virtual IAsyncAction ^ ShowComposeNewEmailAsync(EmailMessage ^ message) = ShowComposeNewEmailAsync;
/// [Windows.Foundation.Metadata.RemoteAsync]
IAsyncAction ShowComposeNewEmailAsync(EmailMessage const& message);
[Windows.Foundation.Metadata.RemoteAsync]
public IAsyncAction ShowComposeNewEmailAsync(EmailMessage message);
function showComposeNewEmailAsync(message)
Public 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

Note

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

Applies to