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

Mail asks for password upon launch, then crashes when password is entered

Greetings --


For the last week or so I've been having an increasingly regular problem with Mail. Upon launching, the app opens a dialog window saying, "Mail can't connect to the Google account 'Gmail'. Enter the password for user (username)." Then when I enter the password, the app crashes. Sometimes clicking the "Cancel" botton allows the app to open, but sometimes that results in a crash as well. Also, when I can launch Mail successfully, sometimes when I try to send mail, the outgoing mail will sit in the Outbox unsent.


I've been getting these warnings with both my Yahoo and Gmail accounts. Until a few days ago I was using Yahoo as my primary account, but the inability to send mail caused me to switch to Gmail as my primary. After a couple days of smooth sailing, I'm now getting the same errors with my Gmail.


Any guesses? Thank you in advance.....

Posted on Jul 1, 2014 4:53 PM

Reply
4 replies

Jul 1, 2014 5:10 PM in response to Faux Hulot

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. Click Utilities, then Console in the icon grid.

Step 1

For this step, 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.

In the top right corner of the Console window, there's a search box labeled Filter. Initially the words "String Matching" are shown in that box. Enter the name of the crashed application or process. For example, if iTunes crashed, you would enter "iTunes" (without the quotes.)

Each message in the log begins with the date and time when it was entered. Select the messages from the time of the last crash, if any. 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, may appear in the log. Anonymize before posting.

Step 2

In the Console window, select

DIAGNOSTIC AND USAGE INFORMATION User Diagnostic Reports

(not Diagnostic and Usage Messages) from the log list on the left. There is a disclosure triangle to the left of the list item. If the triangle is pointing to the right, click it so that it points down. You'll see a list of crash reports. The name of each report starts with the name of the process, and ends with ".crash". Select the most recent report related to the process in question. The contents of the report will appear on the right. Use copy and paste to post the entire contents—the text, not a screenshot.

I know the report is long, maybe several hundred lines. Please post all of it anyway.

If you don't see any reports listed, but you know there was a crash, you may have chosen Diagnostic and Usage Messages from the log list. Choose DIAGNOSTIC AND USAGE INFORMATION instead.

In the interest of privacy, I suggest that, before posting, you edit out the “Anonymous UUID,” a long string of letters, numbers, and dashes in the header of the report, if it’s present (it may not be.)

Please don’t post other kinds of diagnostic report—they're very long and rarely helpful.

Jul 1, 2014 10:09 PM in response to Linc Davis

Linc -


Thank you so much. As per your instructions:


7/1/14 7:35:55.136 PM HeraldAgent[24692]: Mail.app quit


+++++


Process: Mail [24688]
Path: /Applications/Mail.app/Contents/MacOS/Mail
Identifier: com.apple.mail
Build Info: Mail-1878002000000000~1
Responsible: Mail [24688]

2 com.apple.framework.internetaccounts 0x00007fff87e238ef -[IAGoogleAuthTokenManager tokenForAccountWithEmailAddress:shouldCreateToken:] + 216

3 com.apple.MailCore 0x00007fff89d7dbbf -[_MCPlainClientTokenSaslClient initialResponse] + 82
4 com.apple.Mail.framework 0x00007fff87979777 -[MFSMTPConnection _authenticateWithAuthenticator:] + 180
5 com.apple.MailCore 0x00007fff89d1d9b0 -[MCConnection authenticate] + 594
6 com.apple.Mail.framework 0x00007fff879796b7 -[MFSMTPConnection authenticate] + 85
7 com.apple.Mail.framework 0x00007fff877f4a94 -[MFAccount connectAndAuthenticate:] + 358
8 com.apple.Mail.framework 0x00007fff879787c9 -[MFSMTPAccount connectAndAuthenticate:] + 200
9 com.apple.Mail.framework 0x00007fff87978692 -[MFSMTPAccount authenticatedConnection] + 248
10 com.apple.Mail.framework 0x00007fff8797c46d -[MFSMTPDeliverer deliverMessageHeaderData:bodyData:toRecipients:] + 352
11 com.apple.Mail.framework 0x00007fff87919c4a __42-[MFMessageDeliverer deliverSynchronously]_block_invoke + 381
14 com.apple.Mail.framework 0x00007fff879199aa -[MFMessageDeliverer deliverSynchronously] + 670
15 com.apple.mail 0x0000000109280ddb 0x1091c8000 + 757211
16 com.apple.mail 0x000000010927efec 0x1091c8000 + 749548
19 com.apple.MailCore 0x00007fff89d667a4 -[MCMonitoredInvocation invoke] + 211
20 com.apple.MailCore 0x00007fff89d89448 -[MCThrowingInvocationOperation main] + 40
21 com.apple.MailCore 0x00007fff89d2db28 -[_MCInvocationOperation main] + 332
0x1091c8000 - 0x1094baff7 com.apple.mail (7.3 - 1878.2) <02AF7E63-A1ED-3B9E-93DE-BC376FC10FB5> /Applications/Mail.app/Contents/MacOS/Mail
0x10b066000 - 0x10b081ff7 +com.erikhinterbichler.Herald (4.0.7 - 4.0.7) <E0408672-4771-36C4-8AC5-63D8DC618C16> /Users/USER/Library/Mail/*/Herald
0x7fff86147000 - 0x7fff86150ff7 com.apple.MailService (7.3 - 1878.2) <0C8C8456-011E-3F72-B179-23FEC2DAF4AB> /System/Library/PrivateFrameworks/MailService.framework/Versions/A/MailService
0x7fff877ed000 - 0x7fff87a03fff com.apple.Mail.framework (7.3 - 1878.2) <38820B41-D68B-3FDF-92F0-A5FA0F91A620> /System/Library/PrivateFrameworks/Mail.framework/Versions/A/Mail
0x7fff89d08000 - 0x7fff89db1ff7 com.apple.MailCore (7.3 - 1878.2) <5EEC62CA-BEFC-39CF-895E-D0C0D3E69210> /System/Library/PrivateFrameworks/MailCore.framework/Versions/A/MailCore
0x7fff8d4d9000 - 0x7fff8d4defff com.apple.EmailAddressing (7.3 - 1878.2) <E30AE31E-791D-31DF-87E2-F536A288E563> /System/Library/PrivateFrameworks/EmailAddressing.framework/Versions/A/EmailAdd ressing
0x7fff8ec70000 - 0x7fff8ecaeff7 com.apple.MailUI (7.3 - 1878.2) <1AA32F7D-25BD-301B-B7AE-5D7FE3143D1B> /System/Library/PrivateFrameworks/MailUI.framework/Versions/A/MailUI

Jul 2, 2014 6:28 AM in response to Faux Hulot

Back up all data.

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

~/Library/Mail/Bundles

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

Services Open

from the contextual menu.* A folder may open, or you may get an error message that the item can't be found. Either result is normal. If the folder does open and has contents, move the contents to the Desktop. Relaunch Mail and test. If there's no change, put the contents of the folder back and quit Mail again.

2. Repeat with this line:

/Library/Mail/Bundles

This time you may be prompted for your login password when you remove the items. Make sure they're removed from the folder and not just copied to the Desktop. If necessary, copy them first and then move the originals to the Trash.

*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.

Jul 9, 2014 9:38 PM in response to Linc Davis

Linc -


Thanks for your help with this. Since your last message there was a Mail update in the OS 10.9.4, and in the process of opening that for the first time I learned that a plugin I had forgotten that I'd installed ("Herald") was no longer compatible with Mail. Since running Mail without that plug-in installed, I've had no further issues.


Incidentally, I followed your last set of commands and found the "Bundes" folder was empty. Perhaps that's where the plug-in had been installed?


At any rate thank you again for your help. Very kind of you to spend the time.


Jeff

Mail asks for password upon launch, then crashes when password is entered

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