36.1 C
Monday, June 17, 2024

How to Use MFCMapi in Exchange 2010 Server itself

By Default you cannot use MFCMapi in the Exchange 2010 server itself

You will end up with an error

MAPIInitialize failed with error 0x80004005 == MAPI_E_CALL_FAILED


Because of the missing component “ExchangeMapiCdo.EXE”

Where you don’t want to install Outlook to get that component , like earlier versions


Step 1:

Download and Install

Microsoft Exchange Server MAPI Client and Collaboration Data Objects 1.2.1


Install on Exchange 2010 Server



Step 2:


Download MFCMAPI

You can download the 32bit version x86


Click on Session –> Logon


Choose Next



Enter Exchange Server FQDN and User Mailbox


You can Choose “No”


Click Finish



Now you could use MFCMapi , Without having installing outlook in the exchange server itself


Now you can click on session on logoff and logon




Great !! you can use MFCMapi in Exchange 2010 Server now !

Check How you can Recover Deleted Items using MfcMapi



Satheshwaran Manoharan
Satheshwaran Manoharanhttps://www.azure365pro.com
Award-winning Technology Leader with a wealth of experience running large teams and diversified industry exposure in cloud computing. From shipping lines to rolling stocks.In-depth expertise in driving cloud adoption strategies and modernizing systems to cloud native. Specialized in Microsoft Cloud, DevOps, and Microsoft 365 Stack and conducted numerous successful projects worldwide. Also, Acting as a Technical Advisor for various start-ups.

Related Articles


  1. Greetins Mr. Manoharan,

    I got to step 2 but when I click log in I get the message “There is no email program associated to perform the requested action. Please install an email program or, if one is already installed, create an association in the default programs control panel”. I don’t have outlook installed on this server just Exchange 2010 so I’m not sure what it wants from me. Do you know how to get around this issue?

    Best Regards

      • Yeah I’ve already downloaded and installed it. However when I try to log into exchange from MFCMAPI I get the following error:
        MAPIInitialize failed with error 0x80004005 == MAPI_E_CALL_FAILED.

        Here are some known causes for this.
        1 – The 64 bit version of Outlook 2010 is not installed. The 64 bit version of MFCMAPI only works with the 64 bit version of Outlook 2010.
        See http://mfcmapi.codeplex.com for the latest 32 bit bit build of MFCMAPI.
        2 – Windows Mail or Outlook Express (which do not implement Extended MAPI) is registered as the Default Mail Client.
        See http://msdn.microsoft.com/en-gb/library/dd162409.aspx for information on setting the Default Mail Client.
        In file MapiObjects.cpp
        On line 120

        • Nevermind! I was using the 64bit version of MFCMAPI because its the 64bit version of Exchange but the 2010 version only uses the 32bit version of MAPI. DOH!

          • I still have that error even when running the 32 bit version. These instructions just show you how to do it in a perfect world. How about explaining common errors and hwo to fix them? These instructiosn are useless.


Please enter your comment!
Please enter your name here