Skip to the content.

MFCMAPI

MFCMAPI provides access to MAPI stores to facilitate investigation of Exchange and Outlook issues and to provide developers with a sample for MAPI development.

MrMAPI is the companion command-line tool for MAPI diagnostics.

Caution: MFCMAPI can modify or permanently delete mailbox data. Back up important data and only make changes you understand.

Get MFCMAPI

For 64-bit Outlook, install with WinGet:

winget install mfcmapi

For 32-bit Outlook, specify x86 instead:

winget install mfcmapi --architecture x86

After installation, launch MFCMapi from a new terminal.

To update an existing WinGet installation:

winget update mfcmapi

Which version do I need?

Match your Outlook installation, not Windows: use x64 for 64-bit Outlook or x86 for 32-bit Outlook. Check under File > Office Account > About Outlook.

Download portable ZIPs

Download the latest release and extract the appropriate archive:

Your Outlook MFCMAPI archive
64-bit Outlook MFCMAPI.x64.exe.<version>.zip
32-bit Outlook MFCMAPI.exe.<version>.zip

Here, <version> is the release version. Run MFCMapi.exe from the extracted folder; no installer is required.

Looking for MrMAPI? Download it from the same release page: MrMAPI.x64.exe.<version>.zip for 64-bit Outlook or MrMAPI.exe.<version>.zip for 32-bit Outlook.

Matching PDB archives for debugging are also available on the release page. Match the release and architecture when downloading these files.

Optional color themes

Download MFCMAPI.themes.<version>.zip from the same release page and extract it. The theme package works with both 32-bit and 64-bit MFCMAPI. Open Tools > Themes, choose the extracted Themes directory, and enable color themes. See the theme guide for installation and customization.

Dependencies

Help and feedback

For assistance using MFCMAPI, developing add-ins, or general MAPI development, consult the documentation. Find a bug? Need help? Have a suggestion? Report your issues through the issues tab.

Contributing

Interested in contributing? See Contributing for build requirements and development setup.

Badges

continuous-integration
Clang-format
CodeQL
Dependency Review
DevSkim
OpenSSF Scorecard
OpenSSF Best Practices
Facebook