Windows store apps Windows 8:在调用Share charm';s邮件功能
我需要在调用Share charm的邮件功能时设置默认电子邮件地址。 具体来说,我已经知道收件人的电子邮件地址 因此,我希望用这些数据填充mailto地址,而不是强制用户手动插入这些数据 有什么建议吗Windows store apps Windows 8:在调用Share charm';s邮件功能,windows-store-apps,Windows Store Apps,我需要在调用Share charm的邮件功能时设置默认电子邮件地址。 具体来说,我已经知道收件人的电子邮件地址 因此,我希望用这些数据填充mailto地址,而不是强制用户手动插入这些数据 有什么建议吗 public void OnHtmlRequested(DataRequestedEventArgs args, string title, string html) { args.Request.Data.Properties.Title = title;
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));
}
我知道这有点老了,但我现在也有同样的问题。你运气好吗?