• Outlook User
  • New Outlook app
  • Outlook.com
  • Outlook Mac
  • Outlook & iCloud
  • Developer
  • Microsoft 365 Admin
    • Common Problems
    • Microsoft 365
    • Outlook BCM
    • Utilities & Addins

Volume 26 Issue 9

Slipstick Systems

Issue Date: April 8, 2021 « Previous Issue | Next Issue »

The following articles were included in our Exchange Messaging Outlook (EMO) newsletter published on April 8, 2021.

EMO is a weekly publication. To receive your own copy of EMO by email, subscribe here.

Support Exchange Messaging Outlook Sponsors

Increase Your Productivity!

ReliefJet Essentials for Outlook is a set of more than 160 tools for performing a wide range of tasks in Outlook: processing email messages, contacts, appointments, meetings, tasks and other Outlook items.

ReliefJet Essentials for Outlook

Today's Highlights:

  • Importing Calendar and Contacts into an IMAP account
  • Exporting IMAP folders
  • Filter messages containing spam or offensive words

Importing Calendar and Contacts into an IMAP account

I've had to fix the calendar and contacts for several clients after they imported the items from a pst into an IMAP account. While Outlook uses the "this computer only" folders, the import creates new folders named just Calendar and Contacts. New appointments and contacts went into the "this computer only" folders and the contacts weren't showing the address book.

While the fix is easy: set the calendar folder to list view, select all and use the Move to folder command to move everything to the "on my computer" version of the folder, you can avoid that step by importing directly into the default folder.

Select the calendar folder then begin the import process, choosing the option to import into the current folder. Repeat the step for contacts: select the contacts folder before beginning the import then import into the current folder.

Or, skip the import steps and open the pst in the profile, using File > Open & Export > Open Outlook Data File then move the calendar and contacts (and tasks, if you use them) to the correct folder.

Exporting IMAP folders

While we're on the subject of importing to IMAP accounts, it's a good time to talk about exporting from an IMAP account.

If you export an IMAP data file to a pst file, the folders will appear empty, while the folder size will show there is something in the folder.

The contents are in the folder, but Outlook exports the folders as IMAP folders and uses the default IMAP view: Hide Deleted IMAP items. Outlook thinks the messages were deleted and the view hides the messages.

If you change the folder view, you'll see the folder contents. While changing the view on every folder is easy enough using the " Apply Current View to Other Mail Folders..." command, you can use a macro to change the folder type from IMAP to mail.

Calendar and Contacts folders may appear to be mail folders and the items in the folders display as mail. This can't be fixed by changing the view, you'll either need to make a new folder of the proper type and move the items into it or use MFCMAPI to change the folder type.

The steps to use MFCMAPI to change the folder type and a macro to automate it can be found in this article:
Fix the Outlook Folder Type after Exporting an IMAP Account (slipstick.com)

Filter messages containing spam or offensive words

I had several users ask me how to create a filter to delete messages that contain spam or offensive words, even though the junk email filter put the messages in the Junk Email folder. The spam made it harder to look for messages that are not spam but were moved to the Junk Email folder

Obviously, you can create rules that filter on words, but it only works on messages left in the Inbox and too many words can cause the rule to fail.

You can use a macro, either in the form of a run a script rule on incoming mail or an ItemAdd macro to watch a specific folder. Which is better? It depends on several factors, including how much mail you receive at a time. If you receive a lot of mail, a rule may be able to filter which messages the macro runs on (such as except if the sender is in my address book), while the ItemAdd macro checks every message. But the ItemAdd macro can run on specific folders – like the Junk Email folder.

To use the macro, you add your list of words or phrases to the array. The macro checks the message subject and body for the words.

Others asked how to use the blocked sender list to delete messages sent by the blocked addresses. I'm still working on a macro for that. You could put the blocked addresses into the arrays in the macro, but reading the blocked list would be better and automatic.

Get the code at Filter messages containing spam or offensive words (slipstick.com)

New & Updated Exchange KB Articles

'500 Unexpected Error' when trying to create a user mailbox in ECP

Autodiscover, OWA, EWS wont work in an environment where Microsoft Exchange Server 2010 and Exchange Server 2016 coexist

New & Updated Office 365 KB Articles

April 6, 2021, update for Office 2016 (KB4486672)

New & Updated Outlook KB Articles

Messages in an e-mail thread are automatically moved to the Deleted Items folder

Other Resources

Count Selected Messages
How to get a count of the messages you have selected in Outlook, using a macro or copy and paste.

Filter messages containing spam or offensive words
How to use an Outlook macro to move or delete messages containing spammy keywords.

Volume 26 Issue 9 was last modified: September 27th, 2021 by Diane Poremsky

Visit Slipstick Forums.
What's New at Slipstick.com

Latest EMO: Vol. 30 Issue 34

Support Services

Do you need help setting up Outlook, moving your email to a new computer, migrating or configuring Office 365, or just need some one-on-one assistance?

Our Sponsors

CompanionLink
ReliefJet
  • Popular
  • Latest
  • Week Month All
  • Use Classic Outlook, not New Outlook
  • Mail Templates in Outlook for Windows (and Web)
  • How to Remove the Primary Account from Outlook
  • Disable "Always ask before opening" Dialog
  • Adjusting Outlook's Zoom Setting in Email
  • This operation has been cancelled due to restrictions
  • Reset the New Outlook Profile
  • How to Hide or Delete Outlook's Default Folders
  • Removing Suggested Accounts in New Outlook
  • Change Outlook's Programmatic Access Options
  • Opt out of Microsoft 365 Companion Apps
  • Mail Templates in Outlook for Windows (and Web)
  • Urban legend: Microsoft Deletes Old Outlook.com Messages
  • Buttons in the New Message Notifications
  • Move Deleted Items to Another Folder Automatically
  • Open Outlook Templates using PowerShell
  • Count and List Folders in Classic Outlook
  • Google Workspace and Outlook with POP Mail
  • Import EML Files into New Outlook
  • Opening PST files in New Outlook
Ajax spinner

Recent Bugs List

Microsoft keeps a running list of issues affecting recently released updates at Fixes or workarounds for recent issues in classic Outlook (Windows).

For new Outlook for Windows: Fixes or workarounds for recent issues in new Outlook for Windows .

Outlook for Mac Recent issues: Fixes or workarounds for recent issues in Outlook for Mac

Outlook.com Recent issues: Fixes or workarounds for recent issues on Outlook.com

Office Update History

Update history for supported Office versions is at Update history for Office

Outlook Suggestions and Feedback

Outlook Feedback covers Outlook as an email client, including Outlook Android, iOS, Mac, and Windows clients, as well as the browser extension (PWA) and Outlook on the web.

Outlook (new) Feedback. Use this for feedback and suggestions for Outlook (new).

Use Outlook.com Feedback for suggestions or feedback about Outlook.com accounts.

Other Microsoft 365 applications and services




New Outlook Articles

Opt out of Microsoft 365 Companion Apps

Mail Templates in Outlook for Windows (and Web)

Urban legend: Microsoft Deletes Old Outlook.com Messages

Buttons in the New Message Notifications

Move Deleted Items to Another Folder Automatically

Open Outlook Templates using PowerShell

Count and List Folders in Classic Outlook

Google Workspace and Outlook with POP Mail

Import EML Files into New Outlook

Opening PST files in New Outlook

Newest Code Samples

Open Outlook Templates using PowerShell

Count and List Folders in Classic Outlook

Insert Word Document into Email using VBA

Warn Before Deleting a Contact

Use PowerShell to Delete Attachments

Remove RE:, FWD:, and Other Prefixes from Subject Line

Change the Mailing Address Using PowerShell

Categorize @Mentioned Messages

Send an Email When You Open Outlook

Delete Old Calendar Events using VBA

Repair PST

Convert an OST to PST

Repair damaged PST file

Repair large PST File

Remove password from PST

Merge Two Data Files

Sync & Share Outlook Data

  • Share Calendar & Contacts
  • Synchronize two computers
  • Sync Calendar and Contacts Using Outlook.com
  • Sync Outlook & Android Devices
  • Sync Google Calendar with Outlook
  • Access Folders in Other Users Mailboxes

Diane Poremsky [Outlook MVP]

Make a donation

Mail Tools

Sending and Retrieval Tools

Mass Mail Tools

Compose Tools

Duplicate Remover Tools

Mail Tools for Outlook

Online Services

Calendar Tools

Schedule Management

Calendar Printing Tools

Calendar Reminder Tools

Calendar Dates & Data

Time and Billing Tools

Meeting Productivity Tools

Duplicate Remover Tools

Productivity

Productivity Tools

Automatic Message Processing Tools

Special Function Automatic Processing Tools

Housekeeping and Message Management

Task Tools

Project and Business Management Tools

Choosing the Folder to Save a Sent Message In

Run Rules on messages after reading

Help & Suggestions

Submit Outlook Feature Requests

Slipstick Support Services

Buy Microsoft 365 Office Software and Services

Visit Slipstick Forums.

What's New at Slipstick.com

Home | Outlook User | Exchange Administrator | Office 365 | Outlook.com | Outlook Developer
Outlook for Mac | Common Problems | Utilities & Addins | Tutorials
Outlook & iCloud Issues | Outlook Apps
EMO Archives | About Slipstick | Slipstick Forums
Submit New or Updated Outlook and Exchange Server Utilities

Send comments using our Feedback page
Copyright © 2025 Slipstick Systems. All rights reserved.
Slipstick Systems is not affiliated with Microsoft Corporation.