使用Exchange 2007 Web服务和VB.NET下载附件 [英] Downloading Attachments using Exchange 2007 Web Services and VB.NET

查看:66
本文介绍了使用Exchange 2007 Web服务和VB.NET下载附件的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

使用Exchange 2007 Web服务和VB.NET下载附件

Downloading Attachments using Exchange 2007 Web Services and VB.NET

我有一个VB.NET WebDAV应用程序,从Exchange 2003和我们的客户端愉快地下载了5年的附件升级到Exchange 2007并且它不起作用。

I had a VB.NET WebDAV app which happily downloaded attachments for 5 years from Exchange 2003 and then our client upgraded to Exchange 2007 and it doesn't work.

是否有人使用Exchange 2007 Web服务来创建应用程序:

Has anyone wirtten an app using Exchange 2007 Web Services which:

1. 连接到交易所

1.  Connects to Exchange

2. 下载所有附件

2.  Downloads All Attachments

3. 完成后删除邮件。

3.  Delete the mails when it is finished.

谢谢。

推荐答案

这很简单 您可以使用EWS托管API构建自己的应用。



下载EWS托管API:
http://www.microsoft.com/downloads/en/details.aspx?FamilyID=C3342FB3-FBCC-4127-BECF -872C746840E1



$
构建您的应用程序(通过Visual Studio和EWS托管API) 

It's quite simple that you can build your own app using EWS Managed API.

Download EWS Managed API: http://www.microsoft.com/downloads/en/details.aspx?FamilyID=C3342FB3-FBCC-4127-BECF-872C746840E1

Build your application (say via Visual Studio and EWS Managed API) 

1)连接到Exchange -
http:// msdn.microsoft.com/en-us/library/dd633626(v=EXCHG.80).aspx
 (参考示例使用EWS托管API)

2)获取附件 -
http://msdn.microsoft.com/en-us /library/dd633665(v=EXCHG.80).aspx


3 )删除邮件完成后 - 一旦获得上面的附件,您可以设计删除邮件的方法。

1) Connects to Exchange - http://msdn.microsoft.com/en-us/library/dd633626(v=EXCHG.80).aspx (refer the sample uses EWS Managed API)
2) Getting attachments - http://msdn.microsoft.com/en-us/library/dd633665(v=EXCHG.80).aspx
3) Delete the mails when it's finished - once you get the attachments above, you can design way to delete the mails when it's finishe.

FYI:如果从Exchange Server 2003迁移对于Exchange Server 2007,WebDAV应用程序将工作并提取附件 - 即使WebDAV在Exchange Server 2007中已被取消,但建议使用EWS。

试试看,告诉我。


这篇关于使用Exchange 2007 Web服务和VB.NET下载附件的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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