Tips and Tricks

Connecting to MS Exchange Server via MAPI

The Bat! supports the MAPI protocol, which allows connecting to MS Exchange Servers and downloading emails as though it were a POP3 account. There are two ways how The Bat! can use the MAPI protocol: when you select an existing MAPI profile from a list (e.g. “Outlook” for Microsoft Outlook's profile); or when you explicitly set the Exchange server name and the mailbox name, in this case The Bat! creates its own MAPI profile using the MAPI library that comes with Microsoft Outlook or with the Microsoft Exchange Server MAPI Client and Collaboration Data Objects.

Please note that when you select an existing "Outlook" MAPI profile you may end up getting in The Bat! messages stored on your computer in the Outlook data files, rather than messages arrived to the Exchange server.

When you explicitly set the Exchange server name and the mailbox name and use a MAPI library that comes with Microsoft Outlook, only versions of Outlook up to 2013 can be used with The Bat! Newer versions of Outlook, i.e. 2016 and on, are not supported.

Also, when you explicitly set the Exchange server name and the mailbox name, regardless of what MAPI library are you using, only Microsoft Exchange versions up to 2010 are supported. The newer Exchange versions, i.e. 2013 and on, are not supported.

As a result, we do not recommend using MAPI to connect to Microsoft Exchange servers, use POP3 or IMAP instead. However, you can use MAPI with existing "Outlook" profile to get messages from Microsoft Outlook.

Further in this article we will guide you through setting up a MAPI account in The Bat! by using the free Microsoft Exchange Server MAPI Client and Collaboration Data Objects, assuming MS Outlook is not installed on your computer. Keep in mind, that only the 32-bit version of The Bat! will be able to establish a connection with the MS Exchange Server using the above mentioned Collaboration Data Objects. Please follow these steps:

1. Download and install Microsoft Exchange Server MAPI Client and Collaboration Data Objects 1.2.1: http://www.microsoft.com/en-us/download/details.aspx?id=1004 Note that Windows 8.1 32 and 64-bit is also supported.
2. Install a 32-bit version of The Bat!
3. Start creating a new account using the Account -> New menu. Input "Your full name", "E-mail address" and select "MAPI (access Exchange via Outlook)" from the "Protocol Type" drop-down list. Click "Next".



Keep the "Use specific settings" option selected and input the "Exchange server" address and the "Mailbox name". Click "Next".



Check "Your name" and change the "Account’s Name" or "Home folder" if needed. Click "Finish", and the new account will appear in The Bat!’s interface.



4. Once the MAPI account is created, receive new mail. The Bat! will open the Connection Center window and the operating system’s prompt will ask you to input your User name, Domain Name and Password two times – The first time to create a MAPI Profile:



and then to log into the MAPI subsystem:



At this point The Bat! should start retrieving messages from the Exchange server.

5. Keep in mind that you need to use MFCMAPI, which provides access to MAPI stores, to check and manage MAPI profiles. Download page: https://mfcmapi.codeplex.com Extract and launch the MFCMAPI.exe file. In the MFCMAPI x86 utility window access the Profile -> Show profiles menu to see the existing MAPI profiles:



6. If you delete a MAPI account from The Bat!, the respective profile will remain in the operating system. Remember to remove the unneeded profile(s) manually by running the MFCMAPI utility.