none
MAPI/RPC solution to access Public Folder on Exchange 2010 RRS feed

  • Question

  • Is it possible to connect to public Folder on Exchange 2010 using MAPI/RPC? If yes, any pointers in this direction, source code sample, web URLs etc. MFCMapi connects to Public Folder, but It is using pure MAPI calls.

    Thanks in advance.

    Peeyush Jain


    Developer
    Thursday, September 1, 2011 2:04 PM

All replies

  • >>Is it possible to connect to public Folder on Exchange 2010 using MAPI/RPC

    Yes this how Outlook works Outlook uses Mapi over RCP or Http(Outlook Anywhere)

    >>  If yes, any pointers in this direction, source code sample, web URLs etc. MFCMapi connects to Public Folder, but It is using pure MAPI calls.

    What are trying do ? what lanaguage do you code in ? As far a Mapi access goes you can use Extended Mapi which is what MFCMapi and any commerical Mapi base application will be written in for this you need to code in C++ as mapi isn't supported in .NET see http://msdn.microsoft.com/en-us/library/cc815424.aspx

    Otherwise if your trying to write an Outlook plugin look at VSTO using the Outlook Object Model (OOM) http://msdn.microsoft.com/en-us/office/hh133430 or something like redemption http://www.dimastr.com/redemption/

    Cheers
    Glen

    Friday, September 2, 2011 3:08 AM
  • Glen, Thanks for reply.

    I'm using C++ and want to browse public folders using MaPI/RPC from our application. Our existing application working fine with Exchange 2003 and 2007. but failing with exchange 2010.

    We are using EcDoConnect to connect to Mailbox and Public folder and it is working fine for Mailboxes but failing with public folder. As of now, I have no idea about the error code returned but I'll update more details on this subject very soon.

     


    Peeyush Jain
    Friday, September 2, 2011 4:58 AM
  • The thing to keep in mind with 2010 is that public folders are optional so its possible that in some circumstances there will be no public folder stored associated for the user so if your application does depend on Public folders being there then on some sites where they have chosen not to use Public folders it may fail. Also all your requests in 2010 will go through a CAS server via MAPI on the Middle Tier (MoMT). As for Mapi questions your probably better posting them to the http://social.msdn.microsoft.com/Forums/en-US/outlookdev/threads/ forum as this is the group has more Mapi focused posters.

    Cheers
    Glen

    Friday, September 2, 2011 5:26 AM
  • We check for presence of Public folder and then only perform the required operation. I'll raise this question on MAPI forum as mentioned by you.

    I'm still keeping this question open to get some more pointers on this subject.


    Peeyush Jain
    Friday, September 2, 2011 5:55 AM