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
- System.String
The email subject.
- body
- System.String
The email body.
- to
- System.String[]
The email recipients.