InMotion Hosting Support Center

A common problem with Apple Mail (also often called Mac Mail) is the "error occurred while moving messages to mailbox (null)" error. This problem occurs when folders for the Drafts, Sent, Junk, or Trash mailbox are not assigned. This error most commonly occurs when deleting messages and the Trash mail box has not been assigned, but happens whenever messages are moved without the folders being assigned. Here's a screenshot of the error:

Apple Mail error when moving messages

Fixing the Error with Moving Messages in Apple Mail

In order to use these instructions, you will need to have added an email account into the Apple Mail client.

  1. Login to the Apple Mail Client
  2. choose folder

    Scroll down to your newly added mail account. Click on the drop-arrow to see the Drafts, Sent, Junk, and Trash folders, then click on the Drafts folder to highlight it

  3. Choose drafts folder

    In the Menu at the top of the screen, click on Mailbox, then scroll down to Use This Mailbox As, then click on the Drafts Mailbox. This will assign the Drafts folder in the client to the corresponding server folder.

  4. Repeat this action for all of your folders (Sent, Junk, and Trash), and make sure to click on the respective folder assignment. As you add these folders, you will see the email account name added for each option.

When the folders have been assigned, the error will not appear.

Support Center Login

Our Login page has moved, Click the button below to be taken to the login page.

Social Media Login

Social Login Joomla

Related Questions

Here are a few questions related to this article that our customers have asked:
Ooops! It looks like there are no questions about this page.
Would you like to ask a question about this page? If so, click the button below!
Ask a Question
n/a Points
2016-11-09 7:15 am

Running 10.12.1, I have two accounts in Mail.  Both are through private IMAP servers (i.e. not Gmail, Hotmail etc).  Under Accounts --> Mailbox Behaviors, one account has "Drafts Mailbox: Drafts" while the other has "Drafts Mailbox: INBOX/Drafts".  The same is true for Sent Messages, Trash etc.  This "INBOX/(mbox)" is really annoying as it is screwing up my mailbox.  Importanly, I have NO IMAP PATH PREFIX - Mail is automatically appears to add "INBOX/" to the front even though the IMAP path prefix is completely empty.  No issues like this with El Capitan.

40,371 Points
2016-11-09 4:35 pm
Hello Rusty,

I'm not sure what exactly is wrong based on your description. Can you please indicate the problem and any possible error? Also, this appears to be an Apple Mail issue. Are your referring to the setup of 2 non-InMotion Hosting accounts in Apple Mail? If so, then your support option may be better to handle with Apple or Google directly. Please clarify the issue and we can attempt to troubleshoot the issue.

If you have any further questions, please let us know.

Kindest regards,
Arnel C.
n/a Points
2016-10-12 8:58 am

I don't have a "Use This Mailbox As" option.

2,858 Points
2016-10-12 10:18 am
Kevin, it appears that Apple has removed this option in the latest version of Apple Mail. We are looking into this change, and will update this article as soon as possible.
n/a Points
2016-10-24 9:36 am

I found it in the new mail. You have to go to Mail-->Accounts-->Mailbox Behaviors, and you should see where you can assign mailboxes to drafts, sent, and trash folders. I was on the phone with Apple when I found it on my own. (They didn't even know)

n/a Points
2017-01-24 7:47 pm

In ios 10.12.2 the sequence is Mail -> Preferences -> Accounts -> Mailbox behaviours.  Hope this helps. It was quite a journey trying to find the answer to this dilemma. 

n/a Points
2017-08-24 10:27 pm

This worked! Thank you!

n/a Points
2016-04-22 10:39 am

Worked like a charm!!

n/a Points
2016-03-31 1:15 am

When I do this, all of the options for how to "Use this mailbox as" are grayed out.  Now what?

30,400 Points
2016-04-01 11:23 am
Hello Mike,

Thank you for contacting us. I found a post in the apple forums where they discuss the "Use This Mailbox For" grayed out issue.

I hope this helps,

Post a Comment

Email Address:
Phone Number:

Please note: Your name and comment will be displayed, but we will not show your email address.

10 Questions & Comments

Post a comment

Back to first comment | top

Need more Help?


Ask the Community!

Get help with your questions from our community of like-minded hosting users and InMotion Hosting Staff.

Current Customers

Chat: Click to Chat Now E-mail:
Call: 888-321-HOST (4678) Ticket: Submit a Support Ticket

Not a Customer?

Get web hosting from a company that is here to help. Sign up today!