为什么Outlook无法保存特定类型的附件? [英] Why is Outlook Unable to Save a Particular Type of Attachments?

查看:263
本文介绍了为什么Outlook无法保存特定类型的附件?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我有一个VBA宏,可使用以下代码段在Outlook中保存附件

I have a little VBA macro to save attachments in Outlook using the following snippet

For Each objAtt In objSourceItem.Attachments
  strFile = strPath & objAtt.FileName 
  objAtt.SaveAsFile strFile
Next

这适用于除ChemDraw附件以外的所有类型的附件.我收到一条错误消息,指出"Outlook无法对这种类型的附件执行此操作" 我不确定这是否特定于ChemDraw,但是我可能与文件扩展名和Outlook无法识别文件格式有关.无论如何,此 http://www.cambridgesoft.com/services/documentation/sdk/chemdraw/cdx/General.htm 包含有关ChemDraw类型文件的信息.任何帮助表示赞赏.谢谢!

This works for all types of attachments except for ChemDraw attachments. I get an error saying that "Outlook cannot perform this action on this type of attachment" I am not sure if this specific to ChemDraw, but I maybe it has to do with file extension and Outlook not recognizing the file format. Anyway, this http://www.cambridgesoft.com/services/documentation/sdk/chemdraw/cdx/General.htm has info on ChemDraw type files. Any help is appreciated. Thanks!

推荐答案

如果这是RTF消息中的嵌入式OLE对象,则Outlook将无法从附件(这是OLE存储Blob)中提取实际的文件数据. -IStorage).

If this is an embedded OLE object in an RTF message, Outlook will not be able to extract the actual file data from the attachment (which is an OLE storage blob - IStorage).

这篇关于为什么Outlook无法保存特定类型的附件?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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