Looks like no one’s replied in a while. To start the conversation again, simply ask a new question.

Mail continues to not quit

Would love to get this resolved. Has been like this for sometime, through all updates it still hangs and doesn't quit. Does anyone know a fix?

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

Posted on Apr 11, 2015 12:15 PM

Reply
11 replies

Apr 11, 2015 3:14 PM in response to spinningstill

Please take these steps to delete the Mail "sandbox" folders.

Step 1

Back up all data.

Triple-click anywhere in the line below on this page to select it:

~/Library/Containers/com.apple.mail

Right-click or control-click the highlighted line and select

Services Reveal

from the contextual menu.* A Finder window should open with a folder named "com.apple.mail" selected. If it does, move the selected folder—not just its contents—to the Desktop. Leave the Finder window open for now.

Restart the computer. Launch Mail and test. If the problem is resolved, you may have to recreate some of your Mail settings. Any custom stationery that you created may be lost. Ask for instructions if you want to preserve that data. You can then delete the folder you moved and close the Finder window.

Caution: If you change any of the contents of the sandbox, but leave the folder itself in place, Mail may crash or not launch at all. Deleting the whole sandbox will cause it to be rebuilt automatically.

Step 2

If Step 1 doesn't solve the problem, repeat with this line:

~/Library/Containers/com.apple.MailServiceAgent

*If you don't see the contextual menu item, copy the selected text to the Clipboard by pressing the key combination command-C. In the Finder, select

Go Go to Folder...

from the menu bar and paste into the box that opens by pressing command-V. You won't see what you pasted because a line break is included. Press return.

Apr 17, 2015 8:37 PM in response to spinningstill

Launch the Console application in any of the following ways:

☞ Enter the first few letters of its name into a Spotlight search. Select it in the results (it should be at the top.)

☞ In the Finder, select Go ▹ Utilities from the menu bar, or press the key combination shift-command-U. The application is in the folder that opens.

☞ Open LaunchPad and start typing the name.

The title of the Console window should be All Messages. If it isn't, select

SYSTEM LOG QUERIES ▹ All Messages

from the log list on the left. If you don't see that list, select

View ▹ Show Log List

from the menu bar at the top of the screen.

Click the Clear Display icon in the toolbar. Then try to quit Mail. Select any lines that appear in the Console window. Copy them to the Clipboard by pressing the key combination command-C. Paste into a reply to this message by pressing command-V.

The log contains a vast amount of information, almost all of which is irrelevant to solving any particular problem. When posting a log extract, be selective. A few dozen lines are almost always more than enough.

Please don't indiscriminately dump thousands of lines from the log into this discussion.

Please don't post screenshots of log messages—post the text.

Some private information, such as your name or email address, may appear in the log. Anonymize before posting.

When you post the log extract, you might see an error message on the web page: "You have included content in your post that is not permitted," or "The message contains invalid characters." That's a bug in the forum software. Please post the text on Pastebin, then post a link here to the page you created.

Apr 18, 2015 10:08 AM in response to Linc Davis

Got this:

4/18/15 10:04:52.787 AM Mail[4051]: Failed to start the SASL connection

SASL(-1): generic failure: XOAUTH2 requires user

4/18/15 10:04:56.328 AM Mail[4051]: {"status":"400","schemes":"Bearer","scope":"https://mail.google.com/"}

4/18/15 10:04:56.841 AM Mail[4051]: XOAUTH2 requires user

4/18/15 10:04:56.842 AM Mail[4051]: Failed to start the SASL connection

SASL(-1): generic failure: XOAUTH2 requires user

4/18/15 10:05:17.210 AM Mail[4051]: {"status":"400","schemes":"Bearer","scope":"https://mail.google.com/"}

4/18/15 10:05:17.730 AM Mail[4051]: XOAUTH2 requires user

4/18/15 10:05:17.730 AM Mail[4051]: Failed to start the SASL connection

SASL(-1): generic failure: XOAUTH2 requires user

4/18/15 10:05:20.169 AM Mail[4051]: {"status":"400","schemes":"Bearer","scope":"https://mail.google.com/"}

4/18/15 10:05:20.663 AM Mail[4051]: XOAUTH2 requires user

4/18/15 10:05:20.663 AM Mail[4051]: Failed to start the SASL connection


Also what is this:

4/17/15 7:16:32.272 PM com.apple.xpc.launchd[1]: (com.apple.imfoundation.IMRemoteURLConnectionAgent) The _DirtyJetsamMemoryLimit key is not available on this platform.

Mail continues to not quit

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