An error occurred while moving messages to mailbox “(null)”.

When I delete a message, I get the following error: "An error occurred while moving messages to mailbox “(null)”." What's more, the message does delete, but it doesn't end up in the trash, or anywhere for that matter - it's lost forever. Anybody know a fix?

MacBook Pro (15-inch Early 2011), OS X Yosemite (10.10)

Posted on Oct 17, 2014 3:54 PM

Reply
Question marked as Top-ranking reply

Posted on Nov 25, 2014 3:54 PM

I found a way to fix this. I assume you're using an IMAP account. If so, you should be able to expand the mail account and see the folders that exist on the server. Find the one you want to use for Trash, select it, then go to the "Mailbox" menu and find "Use This Mailbox As..." and select "Trash Mailbox". You can do the same for sent messages, junk, etc. Once I did this, the message stopped appearing.

34 replies

Nov 17, 2014 5:33 AM in response to PDJ-SF

PDJ-SF, I'm glad that worked for you. I didn't want to do this because my account is through iCloud, and deleting the Mail portion of it means disconnecting all the other iCloud services and then reconnecting them. I also figured that it would accomplish largely the same result as rebuilding the mailbox, as in Brett L's solution above.


But, I decided to go ahead and try deleting everything. The good news is that it didn't take as long as I thought it would, and after signing back in and checking all the boxes, iCloud services appear to be working. The bad news is I still get the same error message when deleting messages from my Inbox, and the message seems to be gone forever.

Aug 25, 2017 12:13 AM in response to Tommytune72

I finally fixed this issue on my Mac…


• Log in to Gmail using your browser

• Go to Settings

• Click on Labels

• Under System Labels –> Trash, tick the box for 'Show in IMAP'


The Trash folder in Mail –> Preferences –> (your account) –> Mailbox Behaviours –> Trash Mailbox should now be available and the (null) alert when deleting a message should be gone


…hopefully

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.

An error occurred while moving messages to mailbox “(null)”.

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