Import or export mailbox items via MFCMAPI
Problem:
How to import or export mailbox items by using the MFCMAPI tool.
Solutions:
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.
Fig. 1. MAPI profile configuration window.
- Download the MFCMAPI tool and launch it.
- Go to Session, Logon...
Fig. 2. MAPI profile logon menu.
- Choose the MAPI profile that will be used to access mailbox(es).
Fig. 3. MAPI profile selection window.
- To access Public Folders or a mailbox of currently logged in user right click on the name of the mailbox and choose Open store.
Fig. 4. Mailbox selection window.
- To access other users' mailboxes go to MDB, Open other mailboxes and pick a method of your choice
Fig. 5. Opening other users' mailboxes.
- 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.
Fig. 8. Accessing mailbox folders.
- To import an item to this folder click Folder, Import and choose one of three available formats.
Fig. 9. Importing items into the mailbox.
- To export an item from this folder right click on the item you picked and choose Export message. Now choose the message format.
Fig. 10. Exporting mailbox items.
Fig. 11. Item export formats menu.
- 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. Use our file upload form to send the files and environment description to CodeTwo.
Related products: | General (Microsoft 365, Exchange & more) |
Categories: | How-To |
Last modified: | November 15, 2023 |
Created: | January 21, 2014 |
ID: | 361 |