When you’ve exported your IMAP mailbox or specific folders to a pst-file which you then later open in Outlook or import into an Exchange or Outlook.com mailbox, you may be shocked to see that these folders don’t contain anything.
POP And IMAP Email Settings For Outlook - Office Support
Apr 13, 2020 Outlook for Mac facilitates offline working in an Exchange environment. Synchronization between the server and client application is done so that whenever there is any modification in the Server-side or client-side, the change gets updated on the other side. Sometimes, this synchronization process gets affected partially or fully. Due to this, mailboxes are not updated. I’ve been using Outlook 2011 for Mac for the past week as my primary email application. It works quite well for email — except for one initial problem. When new email arrives in my Gmail account, my iPhone detects it and beeps almost immediately, but Outlook won’t recognize it for many minutes later. Microsoft Outlook for Mac Add Your Gmail Account to Outlook 2011 Mac Using IMAP. To set up your Outlook client to work with Gmail: Enable IMAP in Gmail; Sign in to Gmail. Click the gear icon in the upper-right and select Gmail settings at the top of any Gmail page. Click Forwarding and POP/IMAP; Select Enable IMAP.
Additionally, when you configure this mailbox on a smartphone or tablet as an Exchange ActiveSync account, these folders may not show at all.
In order to add your email account to Outlook, Outlook on the web, Outlook.com, or the Mail and Calendar apps for Windows 10, you'll need several pieces of information including the type of account, the incoming and outgoing server names, and the SSL and port settings. (If Outlook for Mac can't auto-discover your account, select IMAP/POP.) Enter your Workspace Email password and click Add Account. Outlook verifies your Workspace Account settings and loads your email inbox. If you have more than one email account, you'll need to.
Luckily, this can be fixed without any data loss but the process to do so via MFCMAPI is not for the faint of heart or when you have many folder to fix.
Therefor, this guide also contains a script which you can run to apply the fix for you. You can either fix a single folder, a folder and its subfolders or your entire mailbox at once.
Background info and workaround solution
This issue happens because the export/import process maintains the IMAP folder properties which aren’t compatible with a regular pst-archive or Exchange/Outlook.com account.
More specific (and technical), the folder class property is set to IPF.Imap instead of IPF.Note. This has various negative side-effects, visual “glitches” and functionality issues such as;
- You still don’t have Follow Up flags such as Today, Tomorrow, This Week, etc… for these imported folders.
- You’ll see a “Filter applied” message in the bottom left corner of the Status Bar.
- When you switch to the View tab and press the Change View button, you’ll see views that are specific for IMAP accounts even though you are now working with a pst-file or Exchange mailbox. Right now, it is probably set to “Hide Messages Marked for Deletion”.
- The folders are not visible when you connect to your mailbox via Exchange ActiveSync on your smartphone or tablet or the Windows 10 Mail app.
Looking at the available Views allows you to determine whether a folder is being treated as an IMAP folder.
A quick way to see all your messages again is to set you view to “IMAP Messages”.
Enhanced Performance, Designed For Simplicity – The New ...
This will however not fix the actual issue and will not make the folders visible again on your smartphone or tablet. To actually solve it, you’ll need to use one of the methods below to change the folder class property.
For future reference:
Instead of exporting and importing your data from your IMAP account, you could also copy it directly from your IMAP account into a pst-file or an Exchange mailbox. This will copy the contents of the folder without maintaining the IMAP specific properties.
Method 1: Automated fix with a script
The script below will fix the incorrect folder class property for you so that it will become a regular mail folder again just like all the others.
After running the script, you’ll immediately see all your emails again, have Follow Up flag support and all other aforementioned issues will be gone. You don’t even need to restart Outlook!
The script allows you to fix a single folder, a folder and its subfolders or your entire mailbox at once. It will automatically recognize folders that don’t need any fixing and won’t make any changes to these either.
- Download the file; fiximportedimapfolders.zip
- Open or extract the zip-file, and double click on;
FixImportedIMAPFolders.vbs
Click on Outlook in the Taskbar to see the “Select Folder” dialog.
- Select the folder that you would like to fix and press OK.
- If you’d like to fix all subfolders that need fixing as well, select the parent folder.
- If you’d like to fix all folders within your entire mailbox that need fixing, simply select the mailbox name.
You’ll now get a prompt whether you want to include the subfolders as well. If you don’t see this prompt, click on the script icon in your Taskbar.
Click on the WScript icon in the Taskbar…
…and select your fixing preference.After the script is done, you’ll get a notification with how many folders have been fixed.
The contents of all the fixed folders should now be visible again and you should no longer have any IMAP view or any of the other aforementioned issues.
If you had the folder still selected in Outlook, select a different folder and then go back to the fixed folder so that Outlook can refresh the view and you can see that it is fixed.
FixImportedIMAPFolders.vbs script contents
The following code is contained in the FixImportedIMAPFolders.vbs
file.
Method 2: Manual fix with MFCMAPI
To manually fix the folders, you can change the PR_CONTAINER_CLASS
value of the folder from IPF.Imap
to IPF.Note
via MFCMAPI.
This is the exact same fix that is being applied by the script featured above.
Warning!
MFCMAPI is a low-level mailbox editing tool which is designed for expert users and developers so pretty much all safety nets are missing and making a mistake could result in total destruction of your mailbox data. So if this doesn’t like something for you, you may want to use the script method instead.
- Download MFCMAPI from its official project page on GitHub.
- When you use a 32-bit version of Outlook, you’ll need the file starting with;
MFCMAPI.exe
- When you use a 64-bit version of Outlook, you’ll need the file starting with;
MFCMAPI.exe.x64
- When you use a 32-bit version of Outlook, you’ll need the file starting with;
- Unzip the downloaded file and from the extracted folder double click on
mfcmapi.exe
. - Dismiss the startup screen.
Logon via; Session-> Logon…
Select the mail profile which contains the folder you wish to alter.
If you’ve never seen this dialog before, just click OK to load your default mail profile.Double click on the mailbox store containing the folder you wish to alter.
- Expand: Root Container
- Depending on your account configuration expand the following folder:
- IPM_SUBTREE
- Top of Outlook data file
- Top of Personal Folders
- Top of Information Store
Select the folder that you wish to fix.
Double click on the PR_CONTAINER_CLASS property.
Change the IPF.Imap value into IPF.Note.
- Click OK.
- Repeat step 9 to 12 for any other folders that you wish to fix.
- Close all the open MFCMAPI windows.
The contents of all the fixed folders should now be visible again and you should no longer have any IMAP view or any of the other aforementioned issues.
If you had the folder still selected in Outlook, select a different folder and then go back to the fixed folder so that Outlook can refresh the view and you can see that it is fixed.
-->Original KB number: 2648915
Summary
This article contains information about the compatibility of Microsoft Outlook for Mac and Apple iCloud.
Outlook for Mac does not support Apple iCloud calendar (CalDAV) and contact (CardDAV) synchronization.
See All Results For This Question
Outlook for Mac does support iCloud Mail. For steps on how to configure your iCloud email account in Outlook for Mac, go to the More Information section of this article.
More information
To configure your Apple iCloud email account in Microsoft Outlook for Mac, follow these steps:
Start Outlook for Mac.
On the Tools menu, select Accounts.
Select the plus (+) sign in the lower-left corner, and then select Other E-mail.
Enter your E-mail Address and Password, and then select Add Account.
Note
The new account will appear in the left navigation pane of the Accounts dialog box. The Server Information may be automatically entered. If not, follow the remaining steps to enter this information manually.
Enter one of the following in the Incoming server box:
imap.mail.me.com
(forme.com
email addresses)mail.mac.com
(formac.com
email addresses)imap.mail.me.com
(foricloud.com
email addresses)
Select Use SSL to connect (recommended) under the Incoming server box.
Enter one of the following in the Outgoing server box:
smtp.mail.me.com
(forme.com
email addresses)smtp.mac.com
(formac.com
email addresses)smtp.mail.me.com
(foricloud.com
email addresses)
Select Use SSL to connect (recommended) under the Outgoing server box.
Select Override default port under the Outgoing server box, and then enter 587 in the Outgoing server port text box.
After you have entered the incoming and outgoing server information, Outlook for Mac will start to receive your email messages.
Cached
Note
You can select Advanced to enter additional settings, such as leaving a copy of each message on the server.