当我尝试使用Session.GetFolderFromPath访问公用文件夹时,我在>>处收到错误“IMAPITable.FindRow:MAPI_E_NOT_FOUND中的错误”:
Type COMType = Type.GetTypeFromProgID("fkvbmapi.FKRDOSession");
RDOSession session = Activator.CreateInstance(COMType) as RDOSession;
Session.LogonExchangeMailbox(user, server);
>>RDOFolder folder = exchange.Session.GetFolderFromPath(@"\\Public Folders\All Public Folders")
答案 0 :(得分:2)
在调用GetFolderFromPath:
之前,似乎有必要使用以下代码session.Stores.FindExchangePublicFoldersStore();