附件未出现在Outlook 2016中 [英] Attachment not appearing in Outlook 2016

查看:194
本文介绍了附件未出现在Outlook 2016中的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我使用Windows.ApplicationModel.Email.EmailMessage创建了一封电子邮件,并使用以下代码向其添加了附件:

I created an email with Windows.ApplicationModel.Email.EmailMessage and I added an Attachment to it with the code below:

var stream = RandomAccessStreamReference.CreateFromFile(file);
var attachment = new EmailAttachment(file.Name, stream);
emailMessage.Attachments.Add(attachment);
await EmailManager.ShowComposeNewEmailAsync(emailMessage);

在Windows 10上找到的默认邮件客户端中,附件显示为附件.但是,使用相同代码的附件在Outlook 2016中根本不会出现.有什么建议可以解决这个问题吗?

In the default Mail client found on Windows 10, the attachment appears as an attachment. However the attachment does not appear at all in Outlook 2016 with the same code. Any suggestions how to fix this?

显然,这是Windows 10和所有电子邮件客户端的问题,但根据

So apparently this is an issue with Windows 10 and all email clients with the exception of the standard Windows 10 mail client according to this.

推荐答案

同时,文档也提到了它:

使用EmailAttachment类添加到电子邮件中的附件仅显示在邮件"应用程序中.如果用户将其他任何邮件程序配置为其默认邮件程序,则将显示撰写"窗口,不包含附件.这是一个已知问题.

Attachments that you add to an email by using the EmailAttachment class will appear only in the Mail app. If users have any other mail program configured as their default mail program, the compose window will appear without the attachment. This is a known issue.

今天似乎没有任何改变.

Seems that nothing changed to this day.

这篇关于附件未出现在Outlook 2016中的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆