Import or export mailbox items using MFCMAPI tool
How to import or export mailbox items using the MFCMAPI tool.
There are at least two ways of importing and exporting mailbox items:
- You can use your MS Outlook and Windows drag and drop feature:
- To export an item simply drag it from Outlook to your desktop and it will be saved as .msg file.
- To import an item simply drag it into Outlook and it will be imported.
- This option seems easy and convenient and in many, if not most cases suffices. However, items export is limited to .msg format, Outlook modifies some items' properties when exporting them this way and you actually need to have Outlook and direct access to the mailbox in question to do this. To avoid the above listed problems use option 2 and MFCMAPI.
- You can use a free tool - MFCMAPI:
- First of all, you need to have MAPI profile configured on the machine on which you are about to run MFCMAPI. If you have Outlook installed but never used before MFCMAPI tool will guide you through MAPI profile configuration when following steps below. In the case you do not have Outlook you can install MS CDO instead, so the MFCMAPI can talk to MAPI.
- Download the MFCMAPI tool and launch it.
- Go to Session, Logon...
- Choose the MAPI profile that will be used to access mailbox(es).
- To access Public Folders or a mailbox of currently logged in user right click on the name of the mailbox and choose Open store.
- To access other users' mailboxes go to MDB, Open other mailboxes and pick a method of your choice
- Expand Root Container.
- Expand folders in the left pane to find mailbox folders.
- Right click on the folder of your choice and pick Open contents table.
- To import an item to this folder click Folder, Import and choose one of three available formats.
- To export an item from this folder right click on the item you picked and choose Export message. Now choose the message format.
- If you were asked by CodeTwo Customer Support to provide mailbox items examples for your case troubleshooting please export them to .msg files in Unicode or ANSI, if Unicode is not possible. Be aware that .msg files must be .zipped prior to attaching to an email. This is very important as Outlook clients and intermediary Exchange servers alter some .msg files properties if they are attached to emails directly - this makes them unfit for analysis.
- Applies to: Other
- Categories: How-To
- Last modified: 2017-05-11
- Created: 2014-01-21
- ID: 361
- Keywords: mapi, mfcmapi, Mapi profile, MS CDO, CDO