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:
Now
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
Hi,
Thanks for sharing. Do you have any link about the goal of using this tool on Exchange 2010 ?
Thanks
Have a look –
http://20.74.169.163/recoverable-deleted-items-folder-showing-up-in-owa-and-outlook-as-normal-folders-in-exchange-2013/
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
Did you installed this ?
Microsoft Exchange Server MAPI Client and Collaboration Data Objects 1.2.1
http://www.microsoft.com/en-us/download/details.aspx?id=1004
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!
Thank you for the solution 🙂
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.