请问exchage server有没有类似的组建可以调用?
其他的方法也可以
谢谢

解决方案 »

  1.   

    可以使用CDO
    代码参考
    http://groups.google.de/group/microsoft.public.dotnet.general/msg/a39adbf6692c6d2f?ie=UTF-8&oe=UTF-8&rnum=1http://support.microsoft.com/?kbid=310206#toc
      

  2.   

    可以使用CDO
    代码参考
    http://groups.google.de/group/microsoft.public.dotnet.general/msg/a39adbf6692c6d2f?ie=UTF-8&oe=UTF-8&rnum=1http://support.microsoft.com/?kbid=310206#toc
      

  3.   

    http://support.microsoft.com/?kbid=310206#toc请问 中如何替换自己用户名和密码阿?
    使用 oRs.Open(strSql, oCn, 
    ADODB.CursorTypeEnum.adOpenUnspecified, 
    ADODB.LockTypeEnum.adLockOptimistic, 1);
    连接后总是报错
    System.Runtime.InteropServices.COMException (0x80040E09): 权限被拒绝。
       at ADODB.RecordsetClass.Open(Object Source, Object ActiveConnection, CursorTy
    peEnum CursorType, LockTypeEnum LockType, Int32 Options)
       at ConsoleApplication3.Class1.Main(String[] args) in c:\documents and setting
    s\administrator\my documents\visual studio projects\consoleapplication3\class1.c
    s:line 54 Exception caught.
    Press any key to continue
      

  4.   

    为什么执行到oRs.Open(strSql, oCn, ADODB.CursorTypeEnum.adOpenUnspecified, 
    ADODB.LockTypeEnum.adLockOptimistic, 1);
    总是抛出异常啊?System.Runtime.InteropServices.COMException (0x80040E37): 表不存在。
       at ADODB.RecordsetClass.Open(Object Source, Object ActiveConnection, CursorTy
    peEnum CursorType, LockTypeEnum LockType, Int32 Options)
       at ConsoleApplication1.Class1.recievemail() in d:\documents and settings\admi
    nistrator\my documents\visual studio projects\consoleapplication1\class1.cs:line
     96 Exception caught.
    Press any key to continue