I don't believe this is limited to Exchange accounts, it's just that moving/copying an affected message to an Exchange account actually brings up an error. When attempting to move emails to a GMail account they don't actually move, but are no longer in the originating folder and just seem to disappear.
I am trying to copy emails that I restored from a time machine into the cloud. So far I've tried Gmail and Outlook.com. Here's the process I followed:
- I copied my /Library/Mail folder from time machine to my Downloads folder
- I deleted my existing /Library/Mail folder
- I opened the Mail app, which had my Gmail account connected
- I imported (using File --> Import Mailboxes) the backup from my Downloads folder
- These emails were imported to a new "imported" folder located "on my mac"
- I then started moving emails from the imported folder into my Gmail Inbox and Sent folders.
After getting through 1,000 messages I thought to do a count of emails. I had a starting count before I started moving any messages, and found that through the move process over 200 messages had not actually moved to Gmail, but were no longer in the "imported" folder. No error messages were given.
After going back and restoring again, I then tried this with my Outlook.com account. This time I started getting the "Invalid base64 string for MIME content" error, but the same behavior of the email being removed from the local imported folder but not migrated to the server persists.
Also, I do not have any rules setup in the Apple Mail app and I am running the latest MacOS.