locked
Accessing Exchange Public Folders with MAPI RRS feed

  • Question

  • User1487293039 posted

    I am running IIS 7 on Windows Vista and I have installed CDO 1.2.1/MAPI.  I am attempting to access Public Folders from Exchange 2007 using a classic ASP page.  Exchange and the Web Server are on two different machines. 

    It appears that I successfully logon, but the InfoStores object only contains 1 Item..."Personal Folders".

       strProfileInfo = strServer & vblf & strMailbox
       Set objSession = Server.CreateObject("MAPI.Session")
       objSession.Logon , , , False, , True, strProfileInfo
       Set objInfoStores = objSession.InfoStores
       response.write "MAILBOXES: " + objInfoStores.Count + "<br>"
       response.write objInfoStores.Item(i) + "<br>"

    Using a similar vbscript, I can access the the Public Folders provided that I have Outlook opened up on the web server machine.  (I am running Outlook 2007).

    I have experimented with Anonymous, Basic, and Windows Authetications on the Web Server, but have yet to see the Public Folders.

     Any suggestions would be appreciated.

     

    Thursday, January 29, 2009 2:54 PM

Answers