开发wp8.1 app 添加邮箱反馈功能,using Windows.ApplicationModel.Email; 方法如下
private async void SendEmailTask() { var emailMessage = new EmailMessage(); emailMessage.Subject = "subject"; emailMessage.Body = "body"; emailMessage.To.Add(new EmailRecipient("emailAddress")); await EmailManager.ShowComposeNewEmailAsync(emailMessage); }
时间: 2024-10-13 11:18:34