简体   繁体   English

CDO / MAPI是否仍可与Exchange 2013一起使用?

[英]Does CDO / MAPI still working with Exchange 2013?

I have an old VB application that send mail this way using a Mapi.Session 我有一个旧的VB应用程序,该应用程序使用Mapi.Session以这种方式发送邮件

Set objSession = New mapi.Session
strProfileInfo = strServeurExchange & vbLf & strSender_I
objSession.Logon NewSession:=True, NoMail:=False, ShowDialog:=False, ProfileInfo:=strProfileInfo

Now our exchange server will be Upgrade from 2008 to 2013. Does my App will still be able to connect and send mail? 现在,我们的交换服务器将从2008年升级到2013年。我的应用仍然可以连接和发送邮件吗? If not how can I convert It? 如果没有,我该如何转换?

No, it will not work. 不,它不起作用。 CDO 1.21 is not aware of RPC-over-HTTP connections (ROH) and creates a temporary profile without using ROH, which is the only kind of connection accepted by Exchange 2013. CDO 1.21无法识别RPC-over-HTTP连接(ROH),并且在不使用ROH的情况下创建了临时配置文件,这是Exchange 2013唯一接受的一种连接。

You might be able to use Redemption for that - the upcoming version of Redemption will support RDOSession.LogonExchangeMailbox with ROH connections. 您可能可以使用Redemption-即将推出的Redemption版本将支持具有ROH连接的RDOSession.LogonExchangeMailbox。

There are a couple of MAPI CDO update that now work with E2013. E2013现在可以使用几个MAPI CDO更新。 The most recent is the May 2013 update which can be found here: Microsoft Exchange Server MAPI Client and Collaboration Data Objects 1.2.1 May 2013 Update 最新的是2013年5月更新,可以在这里找到: Microsoft Exchange Server MAPI客户端和协作数据对象1.2.1 2013年5月更新

As Dmitry mentioned, you will need to use ROH though. 如Dmitry所述,您将需要使用ROH。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM