如何获取仅下载标题的电子邮件的附件名称 [英] How to get attachment name for emails that was downloaded only the header

查看:136
本文介绍了如何获取仅下载标题的电子邮件的附件名称的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

你好,

我正在为Outlook 2003编写一个加载项.我需要获取电子邮件的附件名称.对于完全下载的电子邮件来说,这是完美的选择,但是当我将发送/接收"设置设置为仅下载邮件头并且使用RemoteItem对象获取附件时,即使在服务器上具有附件的结果也为零.

I'm writing an add-in for Outlook 2003. I need to get the attachment names for emails. This works perfect for emails that was fully downloaded but when I set Send/Receive settings to download only the headers and I use RemoteItem object to get the attachment the result is zero even on the server the mail has attachemnts.

有人能帮我吗?

谢谢

Dan.

推荐答案

最好在Outlook VBA代码中提出问题,然后使用interop实施相同的解决方案
http://www.microsoft.com/office/community/zh-CN/default.mspx?dg=microsoft.public.outlook.program_vba&lang=en&cr=US


这篇关于如何获取仅下载标题的电子邮件的附件名称的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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