EmailManager.ShowComposeNewEmailAsync(EmailMessage) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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.