[E2007] [API?] [C#] C#Exchange 2007计划的概念指南 [英] [E2007] [API?] [C#] Conceptual guidance for C# Exchange 2007 program

查看:93
本文介绍了[E2007] [API?] [C#] C#Exchange 2007计划的概念指南的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我需要创建一个C#程序来检查每一个Exchange 2007服务器发送和接收的电子邮件。 
如果发件人或任何收件人在电子邮件地址列表中,我需要将电子邮件复制到Oracle数据库。 


 


我’我非常熟悉C#,但我从未做过任何Exchange编程。 
我无法整理各种与Exchange互动的方式。 
哪个Exchange API最适合此任务?


< span style ="font-family:Calibri; font-size:small"> 


根据我的阅读,我认为我会使用Exchange Web服务托管API 1.1 SDK,
http:// msdn .microsoft.com / zh-CN / library / dd633710(EXCHG.80).aspx &NBSP;
此外,我认为程序必须直接在Exchange服务器上运行。 
听起来是否正确?


 


另外,任何关于Exchange 2007编程书籍或参考书的建议都将受到赞赏。


 


谢谢,


John

解决方案

嗨约翰,


是啊....你可以尝试使用EWS,但如果你想要每一封电子邮件,然后传输代理(特别是"路由代理")可能更有意义。


http://msdn.microsoft.com/en-us/library/35e60382-25dc-4ae8-8386 -f76aa399d6cc%28EXCHG.140%29.aspx


书籍???在Web服务上有一本Microsoft Press书(你应该可以在亚马逊上找到它),但在传输代理上除了稀疏的Microsoft在线和SDK文档之外几乎没有任何东西(虽然SDK中的例子是公平的)。


另一种选择(如果你只想要基本信息)是使用日志。


干杯,


Scott Quinn


I need to create a C# program that will inspect every e-mail sent and received by and Exchange 2007 server.  If the sender or any recipient is in a list of e-mail addresses I need to copy the e-mail to an Oracle database. 

 

I’m very familiar with C#, but I have never done any Exchange programming.  I’m having trouble sorting out the various ways to interact with Exchange.  Which Exchange API is most appropriate to this task?

 

From what I have read it looks to me that I would use the Exchange Web Services Managed API 1.1 SDK, http://msdn.microsoft.com/en-us/library/dd633710(EXCHG.80).aspx.  Also, it looks to me like the program MUST run directly on the Exchange server.  Does this sound correct?

 

Also, any recommendations on Exchange 2007 programming books or references would be appreciated.

 

Thanks,

John

解决方案

Hi John,

Yeah.... you could try using EWS but if you want every single email then a Transport Agent (and specifically a "Routing Agent") may make more sense.

http://msdn.microsoft.com/en-us/library/35e60382-25dc-4ae8-8386-f76aa399d6cc%28EXCHG.140%29.aspx

Books ??? There is one Microsoft Press book on Web Services (you should be able to find it on Amazon) but on Transport Agents there's next to nothing except the sparse Microsoft online and SDK documentation (although the examples in the SDK are fair).

Another option (if you just want basic information) is to use the logs.

Cheers,

Scott Quinn


这篇关于[E2007] [API?] [C#] C#Exchange 2007计划的概念指南的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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