Solution for Invalid base64 string for MIME content when attempting to move mail to Exchange account

There are a number of posts regarding this issue going back to 2019.


The problem I was having is that we started using Microsoft Exchange (probably my first a mistake) and I wanted to transfer some old email residing in Mail.app (MBOX format) to a new Exchange Server email account. But for many emails I would get the error "Invalid base64 string for MIME content", and worse still it would corrupt those emails (always backup!)


The solution is as follows:


  • Download em Client for macOS
  • Install it and add your Exchange account
  • Now go to em Client > Preferences > General > Show Local Folder - check the box then click on Save & Close
  • Go to File > Import > Mail, then Next (don’t bother with the files mbox method, didn’t work for me)
  • Choose “Import selected folders”, then Next
  • Select relevant folders and give em Client Full Disk Access
  • Choose to import data to Local Folders (root will do)
  • Click on Finish and it will import
  • Now you can right-click on the imported folders and simply move them to your Exchange email account.




Posted on May 15, 2023 11:22 AM

Reply

Similar questions

4 replies

Apr 24, 2024 10:27 AM in response to Christiaan

I too am using Microsoft Exchange and I am wondering if your solution will solve the problem I'm having (for which I receive the same error message).

I have personal, business and nonprofit emails coming into Apple Mail, which is why I have several rules set up to make sure messages go to the correct inbox. The rule works fine sometimes, and on other days I get the "Invalid base64 string for MIME content." error for every email message it's trying to sort. Whenever I get to that point, I have no choice but to force quit Apple mail.

Will your solution fix my problem?

Thank you for any help you can provide!


This thread has been closed by the system or the community team. You may vote for any posts you find helpful, or search the Community for additional answers.

Solution for Invalid base64 string for MIME content when attempting to move mail to Exchange account

Welcome to Apple Support Community
A forum where Apple customers help each other with their products. Get started with your Apple Account.