Email.ComposeAsync 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.
Overloads
ComposeAsync() |
Opens the default email client to allow the user to send the message. |
ComposeAsync(EmailMessage) |
Opens the default email client to allow the user to send the message. |
ComposeAsync(String, String, String[]) |
Opens the default email client to allow the user to send the message with the provided subject, body and recipients. |
ComposeAsync()
Opens the default email client to allow the user to send the message.
public static System.Threading.Tasks.Task ComposeAsync ();
Returns
Applies to
ComposeAsync(EmailMessage)
Opens the default email client to allow the user to send the message.
public static System.Threading.Tasks.Task ComposeAsync (Xamarin.Essentials.EmailMessage message);
Parameters
- message
- EmailMessage
The email message.
Returns
Applies to
ComposeAsync(String, String, String[])
Opens the default email client to allow the user to send the message with the provided subject, body and recipients.
public static System.Threading.Tasks.Task ComposeAsync (string subject, string body, params string[] to);
Parameters
- subject
- String
The email subject.
- body
- String
The email body.
- to
- String[]
The email recipients.
Returns
Applies to
Xamarin.Essentials
Feedback
https://aka.ms/ContentUserFeedback.
Coming soon: Throughout 2024 we will be phasing out GitHub Issues as the feedback mechanism for content and replacing it with a new feedback system. For more information see:Submit and view feedback for