Sending email attachments via UWP EmailManager not working

杀马特。学长 韩版系。学妹 提交于 2019-11-30 03:41:41

I believe it is because the Outlook is a Desktop app. As I understood, the EmailManager.ShowComposeNewEmailAsync uses mailto: protocal to launch mail client app and use share to provide the email content.

If you choose the mail store app when the select default app dialog launches, you will be able to see the attachment as following:

If you have previously chosen Desktop Outlook app as the default as for mailto protocol, you have to change the default app for the mailto: protocol association in control panel .

Previously, the ShowComposeNewEmailAsync only works for windows phone runtime app. And it is not up-to-date in the document, because it doesn't include the win 10 support.

On Windows 10 mobile, it works well without any problem. But on Windows Desktop, you have to choose a store app.

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!