【发布时间】:2014-11-10 08:02:56
【问题描述】:
我想从 windows phone 8.1 应用程序发送一封电子邮件。电子邮件撰写任务在其中不起作用。 我试过这个
EmailRecipient sendTo = new EmailRecipient()
{
Address = "abc@outlook.com"
};
//generate mail object
EmailMessage mail = new EmailMessage();
mail.Subject = "Feedback";
//add recipients to the mail object
mail.To.Add(sendTo);
//mail.Bcc.Add(sendTo);
//mail.CC.Add(sendTo);
//open the share contract with Mail only:
await EmailManager.ShowComposeNewEmailAsync(mail);
这会导致模拟器出错:
无法分享
没有可共享的应用。
【问题讨论】:
标签: c# windows-phone-8.1