发贴的兄弟。千万不要用.Net来进行CDO1.2x和Mapi接口的编程。你看看下面的文档就知道了,我们就是开发完以后发现系统不稳定,然后查资料才知道.Net不支持CDO1.2x和Mapi http://msdn.microsoft.com/library/default.asp?url=/library/en-us/ExchReadme/htms/DevelopmentToolsReadMeJune2003.asp具体说明如下啊。 Support Policy for Exchange Development Technologies in .NET Framework Applications The Microsoft Knowledge Base article 813349 provides information about which Exchange development APIs are supported in applications using Microsoft Visual Studio .NET and the Microsoft .NET Framework. See the Knowledge Base article for additional details, as this support policy may change. The following scenarios are currently supported in a .NET environment.API Managed Code Support Policy System.Web.Mail Supported WebDAV Supported WMI Supported CDOSYS Supported, but System.Web.Mail is suggested CDOEXM Supported using COM interopability ExOLEDB Supported using COM interoperability CDOEX Supported using COM interopability CDO 1.2x Not supported CDONTS Not supported. Use System.Web.Mail MAPI Not Supported Microsoft is committed to improving the .NET Framework environment. The supportability status of some of these components may change without notice.
http://msdn.microsoft.com/library/default.asp?url=/library/en-us/ExchReadme/htms/DevelopmentToolsReadMeJune2003.asp具体说明如下啊。
Support Policy for Exchange Development Technologies in .NET Framework Applications
The Microsoft Knowledge Base article 813349 provides information about which Exchange development APIs are supported in applications using Microsoft Visual Studio .NET and the Microsoft .NET Framework. See the Knowledge Base article for additional details, as this support policy may change. The following scenarios are currently supported in a .NET environment.API Managed Code Support Policy
System.Web.Mail Supported
WebDAV Supported
WMI Supported
CDOSYS Supported, but System.Web.Mail is suggested
CDOEXM Supported using COM interopability
ExOLEDB Supported using COM interoperability
CDOEX Supported using COM interopability
CDO 1.2x Not supported
CDONTS Not supported. Use System.Web.Mail
MAPI Not Supported Microsoft is committed to improving the .NET Framework environment. The supportability status of some of these components may change without notice.