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

Mail unusable since upgrade to Sierra

When I first upgraded my iMAC to Sierra (10.12), Mail would crash every time I tried to select the "Sent" folder. Most other folders could be accessed fine; a few would also cause Mail to crash. Re-installed Sierra, no luck.


Today, Mail started crashing on a few other folders. Then, finally, it crashed altogether and will no longer re-open; every time I try to open the app I get a "Mail quit unexpectedly" dialog and dump. I believe this is the most pertinent information:

Crashed Thread: 6 Dispatch queue: com.apple.root.default-qos

Exception Type: EXC_CRASH (SIGABRT)

Exception Codes: 0x0000000000000000, 0x0000000000000000

Exception Note: EXC_CORPSE_NOTIFY

Application Specific Information:

*** Terminating app due to uncaught exception 'NSInvalidArgumentException', reason: '-[NSNull length]: unrecognized selector sent to instance 0x7fffb4d7cf10'

abort() called

terminating with uncaught exception of type NSException


Once again I re-installed Sierra, but still cannot open Mail at all. Any thoughts?

iMac

Posted on Oct 4, 2016 2:26 PM

Reply
45 replies

May 15, 2017 7:46 PM in response to PTDiMarzio

For future readers, here is a solution that worked. It seems Apple Mail crashes when it gets too large (too much data stored). Unfortunately, Apple isn't smart enough to build and alert to tell you Mail has reached its limit. It took me a while to figure this out. I wish I could charge my time to Apple for doing such a good job of wasting it.


  1. Quit Mail completely
  2. Turn Off WiFi
  3. Launch Mail app, access Mail>Preferences>Accounts
  4. Disable existing accounts added one by one by unchecking the box beside each account
  5. Back-up old emails to an external drive. Delete old emails from Mail.
  6. Quit Mail again, connect to the internet, then relaunch Mail.
  7. Enable all account one by one again. Remember that you should let each account download all it’s mail before you enable the next one.

Jan 4, 2017 11:49 AM in response to PTDiMarzio

I have been the same problem. Sometimes after try to open several times (3 or 4) the problem solved magically. Today I have experienced another situation, it was crashing all the time, however, when I have closed Spotify, and I have tried again to open Mail, the problem was solved. I don't know how can interfere this application into the mail application, or what can try to use Mail app that can be related with Spotify, it has been really weird.


Please apple, give a solution to this problem, the image of the company is wore and wore with this sort of things.


Regards.

May 29, 2017 3:16 PM in response to iDriss_5555

This pointed me in the right direction. I've not been able to use Mail for 3 yrs because it was "not responding" and then would crash. After finding this post I remembered during internet outages I could access my old email and folders. I could enable and disable my email accounts by going into my System's Preferences and selecting Internet Accounts. Disabling one of the old email accounts discontinued by Time Warner (after they bought a local company) fixed the problem. Many thanks.

Jun 15, 2017 11:29 AM in response to PTDiMarzio

I had all the same issues, mail not working after a Sierra upgrade. I found that some of my emails were ok, and others were not. There was a setting in Google (Gmail) under Settings/ Sign-In & Security/Allow less secure apps. I turned this feature ON, and all my non working email accounts now work. I hope this helps! Some full disclosure: I still have 1 AOL that is not working, but 1 that is.

Jun 15, 2017 11:32 AM in response to PTDiMarzio

I had all the same issues, mail not working after a Sierra upgrade. I found that some of my emails were ok, and others were not. There was a setting in Google (Gmail) under Settings/ Sign-In & Security/Allow less secure apps. I turned this feature ON, and all my non working email accounts now work. I hope this helps! Some full disclosure: I still have 1 AOL that is not working, but 1 that is.

Oct 4, 2016 3:54 PM in response to PTDiMarzio

Hi PTDiMarzio,


Thanks for using the Apple Support Communities.


You can fix Mac OS X 10.12 Sierra Mail not responding (“Mail quit unexpectedly”) by removing the container folder ‘com.apple.mail.savedState’. Mac OS X saves window locations and open documents of most programs to restore them when the program is launched again after quit. Sometimes after upgrading Mac OS X to the latest version, there can be some handling issues with the prior saved state of Mail which could lead to Sierra Mail is not responding and crashing.

How to remove Mail saved state:

  1. Force quit of Mail app (‘Application not responding‘ issue!).
  2. Go to the Finder.
  3. Hold the Option key and then select ‘Library‘ from the ‘Go‘ menu.
  4. Go to the folder ‘Containers > com.apple.mail > Data > Library > Saved Application State‘ and move the folder called ‘com.apple.mail.savedState‘ to the trash.
  5. Empty trash.
  6. Restart your Mac.
  7. Re-launch Mail.

Hope this will help.

Cheers !

Oct 5, 2016 1:09 PM in response to PTDiMarzio

Well, maybe it comes from multiple email accounts active in the app.

The initial download of all messages from all accounts seems to be overloading the app, causing it to crash.


See if this works for you:


1. Before opening the Mail app, turn off your wifi connection (prevents mail from trying to download mailboxes from all accounts at once).

2. Launch Mail app and go to Mail -> Preference -> Accounts tab.

3. Click each of your accounts on the left side of the Accounts window, then uncheck the box next to "Enable this account." Disable all of your mail accounts.

4. Close Preference and close the Mail app.

5. Relaunch the mail app and reconnect to wifi.

6. Go back to Mail -> Preferences -> Accounts tab, and enable the first account. Give the app plenty of time to download all messages until you no longer see "Checking for Mail..." at the bottom left of the app screen (may take a few minutes depending on how many messages you have on the server).

7. Once the app is no longer "Checking for Mail..." repeat this server for each of your other accounts. I saved Gmail until last since it's my biggest, which took the longest - about 5 minutes (I use multiple Gmail accounts).


After enabling all accounts, the crash issue should stop.

Hope it works !

Oct 5, 2016 1:26 PM in response to iDriss_5555

Thanks for the continued help. I do have multiple accounts attached to Mail. I disconnected from the network (I'm hardwired but ensured wifi was not on and there was no connection active), tried to open Mail, and it failed as it tried to open - as it has been doing. So no luck.


Downloading shouldn't have been the issue anyway because I had already been working with Mail on Sierra for several weeks, so any download/indexing should have already occurred. For a time - immediately following the upgrade - the problem I had was a Mail failure when I tried to access the sent mail folder, but I could otherwise work with Mail just fine. Then I started getting failures trying to open other folders, and finally it failed on its own and ceased to start up anymore.

Oct 5, 2016 2:22 PM in response to iDriss_5555

ok - now we're making progress!! With the shift key held, Mail does in fact open up and stay open. For four out of my five email accounts, I can click the account's inbox and use the message viewer, no problem. If I click on the inbox for that fifth account, though, it's immediate failure (I can't view the list of messages even with the viewer hidden). I'll still get failure on the Sent mail folder, and some other folders, but many folders I can view.


So now it's starting to look as if the database was corrupted during the upgrade, possibly for just this one account. Can you point me to directions for deleting and rebuilding my local copy?

Oct 6, 2016 5:51 AM in response to PTDiMarzio

As a follow-up, I followed the procedures I found here (http://www.computerworld.com/article/2476217/mac-os-x/mac-os-x-how-to-fix-apple- mail-by-rebuilding-and-reindexing-the-ma…) to both rebuild, then reindex, the mail folders. I'm in about the same situation as I've been: I can work with my inboxes, but mail will crash if I try to see the Sent mail folder or about 1/3 of my file folders. Is there a process in place for totally scrubbing Mail, getting it to it's "first install" point, then re-adding the accounts as if for the first time? There's clearly some nasty issue on my machine and it's taking too long to track down! Thanks.

Oct 12, 2016 2:19 PM in response to Cedric Degeneve

Thanks for the tip Cedric but the issue would seem to be with Mail files elsewhere. I did rename the mail folder and open up the app ... but I did not have to go through any setup process; Mail still knew about my accounts, even the folders. Yes it did go through the long process of downloading all the messages and rebuilding indices (effectively creating the mail folder again from scratch) but the app will still fail when I click on the Sent mail and certain other folders. So there is something amiss elsewhere, I just don't know where to look!

Mail unusable since upgrade to Sierra

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