public void ComposeEmail(string to, string cc = null, string subject = null, string body = null, bool isHtml = false, string dialogTitle = null) { // this is a simple attempt - using the 'mailto:' url var url = new MvxMailToUrlBuilder().Build(to, cc, subject, body); Process.Start(new ProcessStartInfo(url)); }
public void ComposeEmail(string to, string cc, string subject, string body, bool isHtml) { // this is a simple attempt - using the 'mailto:' url var url = new MvxMailToUrlBuilder().Build(to, cc, subject, body); Process.Start(new ProcessStartInfo(url)); }
public void ComposeEmail(string to, string cc, string subject, string body, bool isHtml) { // this is the best I can do so far... // see - http://stackoverflow.com/questions/10674193/winrt-how-to-email-a-message-to-a-specific-person var url = new MvxMailToUrlBuilder().Build(to, cc, subject, body); var uri = new Uri(url, UriKind.Absolute); Launcher.LaunchUriAsync(uri); }
public void ComposeEmail(string to, string cc = null, string subject = null, string body = null, bool isHtml = false, string dialogTitle = null) { // this is the best I can do so far... // see - http://stackoverflow.com/questions/10674193/winrt-how-to-email-a-message-to-a-specific-person var url = new MvxMailToUrlBuilder().Build(to, cc, subject, body); var uri = new Uri(url, UriKind.Absolute); Launcher.LaunchUriAsync(uri); }
public ValueTask ComposeEmail(string to, string cc = null, string subject = null, string body = null, bool isHtml = false, string dialogTitle = null) { // this is a simple attempt - using the 'mailto:' url var url = new MvxMailToUrlBuilder().Build(to, cc, subject, body); Process.Start(new ProcessStartInfo(url)); return(new ValueTask()); }