我需要在调用Share charm的邮件功能时设置默认电子邮件地址。 具体来说,我已经知道收件人的电子邮件地址。
因此,我希望使用此数据填充mailto地址,而不是强制用户手动插入此数据。
有什么建议吗?
public void OnHtmlRequested(DataRequestedEventArgs args, string title, string html)
{
args.Request.Data.Properties.Title = title;
args.Request.Data.Properties.Description = "my description";
args.Request.Data.SetHtmlFormat(HtmlFormatHelper.CreateHtmlFormat(html));
}