Is it OK to install CDO 1.21 with Exchange Server 2010 SP3/ Windows Server 2012?

久未见 提交于 2019-12-02 17:56:16

问题


We are upgrading our server to Windows 2012 from 2003. Our application use CDO 1.21 and MAPI to send mails, I know I have to use SMTP/ OOM/AWS. At this late stage I don't want to do make changes in our programs right now - there are 80+ :)

When I am going to MS site to download CDO 1.21, Windows 2102/Exchange Server 2010 SP3 is not specified under supported platforms.

I am able to download CDO 1.21 for Win 2012. But now when I am connecting via MAPI, System is throwing error:

The information store could not be opened. [MAPI 1.0 - [MAPI_E_LOGON_FAILED(80040111)]]

MAPI Code :

   Set objMAPI = New MAPI.Session
  objMAPI.Logon ShowDialog:=False, NewSession:=False, ProfileInfo:=gobjINI.gstrExchangeServer & vbLf & gobjINI.gstrProfile

'Add a new mesage to the OUtbo Messages Collection
Set objMSG = objMAPI.Outbox.Messages.Add

Error is thrown on third line: Set objMSG = objMAPI.Outbox.Messages.Add.

来源:https://stackoverflow.com/questions/42956311/is-it-ok-to-install-cdo-1-21-with-exchange-server-2010-sp3-windows-server-2012

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!