Mail accounts connection failed in Mountain Lion

I upgraded to Mountain Lion yesterday on my (mid 2010) Macbook Pro and everything seems to be great apart from the Mail app.


My mail accounts seem to constantly lose connection if I leave the Mac alone for a period of time, i.e I let it go to sleep, and then start using it again.


The connection failed is displayed next to each of my accounts (Gmail, couple of IMAP's and an exchange) and even though the connection doctor says the Internet connection is fine - attempting to take the accounts back online just does nothing and the accounts continue to be offline and not receiving mail.


Only way I can resolve it is to completely quit out of mail and re-launch it, then everything is fine again until I decide to let it sleep again...


Has anyone else been experiencing this at all? I've looked around but couldn't find anything. Not even sure where to start in trying to find the problem, as they simply don't connect, that's it.


EDIT: Though after posting I have noticed others are seeing the same issue:


https://discussions.apple.com/thread/4149792


Message was edited by: adam7351

MacBook Pro (13-inch Mid 2010), OS X Mountain Lion

Posted on Jul 28, 2012 8:05 AM

Reply
31 replies

Aug 11, 2012 2:55 PM in response to adam7351

My iCloud mails came through and sent out fine, only from yahoo was the problem. So I just created another account with gmail and linked it to the Mac Mail which everything works fine. For the mails from yahoo, It looks like all the mails came through. But if there is no new mail and I press 'Get new mail message' icon, it would give me the connection error.

Aug 20, 2012 7:52 PM in response to marcomarchant

Did it stay that way until now? I've tried deleting all references I could find to Mail preferences and cache, along with Messages (I have the same kind of problem with it), but no joy. It's been incresingly annoying and it's very upsetting that we never got any word from Apple on this. I'm very close to trying a clean install, but I'm actually worried that it won't fix the issue. I don't think I'll be able to "keep calm" if that happens. Has anyone heard if clean installs have this issue?

Aug 20, 2012 8:50 PM in response to rsmattos

Haven't heard of any success with a clean install. The only interesting thing that I have to offer is mine has appeared to have fixed its self. I haven't had any issues over the past week or so, and I didn't do anything to try and solve the problem. I was just going to live with it until apple issued an update to fix the issue. This really only furthers my confusion though as to what the issue actually is, being that it seems to have resolved it's self.

Aug 22, 2012 6:43 PM in response to adam7351

Add me to the list. It's happening on both my Macs and started immediately on both after upgrading to Mountain Lion. It seems to be related to sleep. I have a 3rd Mac where it has never happened, but I have its sleep turned off (I turned it off because the dock would stop working after waking up from sleep ... another issue ...).


This is clearly a bug which I hope has been addressed in the .1 release coming soon. Though I noticed that a .2 was just distributed to developers, so maybe it was caught late?

Aug 26, 2012 4:07 AM in response to adam7351

Same here. After upgrade from lion to mountain lion mail accounts (imap > pop, most smtp) go offline after wakong my mac pro from sleep. Upgrade 10.8.1 does not change this odd behaviour. As I heard from a friend with 10.8.2 this won´t help to.

Did anything: flush cache, repairing rights incl. "Restting home directory permissions and ACLs", deleting prefs, resetting accounts etc. - nothing helps.

Quitting Mail and restart: everything is fine until next awakening from sleep.

Please Apple: help stopping this.

Sincerely

Heliophon

--

Mac Pro 2008, 2x2,8 GHz,14 GB, 10.8.1

Aug 27, 2012 9:29 AM in response to Heliophon

Well, this is odd, but it looks like the issue is revolved or at least much rarer for me. I can't for the life of me figure out how this happened, since I'm sure I didn't make any configuration changes after the last time. Maybe a reboot effected an earlier change I might have tried, but I couldn't pinpoint it. I'm also positive it got better before the update, although I'm not sure if it ever happened again after 10.8.1.

Aug 27, 2012 9:49 AM in response to ChucksterZ

I have just gotten a new iMac running 10.8, I can receive email, but cannot sent. Takes 30-45 seconds to send a simple outging email, if there's an attachment, it never sends AT ALL, just reaches a point where I'm told it couldn't connect to the outbound server.


The only way I CAN send attachments is by using Firefox . . . Safari doesn't work either.


6 hours on the phone yesterday between Apple and ATT tech support . . . .I'm very angry and frustrated...

Sep 6, 2012 2:58 PM in response to adam7351

I've solved my issue like this, and it was a bit trial and error as I'm not a computer expert.


What had happened is that my .me address (iCloud) was somehow using the same outgoing server as another account.


You may like to try what I did, but no guarantees ...


1 Go to Mail > Preferences

2 Go to Accounts

3 Select iCloud IMAP

4 The Account Information tab should be selected. Near the bottom of the pane, look at Outgoing Mail Server. It should say iCloud. If not, click on the arrows and select iCloud.

5 Click on another account (vertical list on left side of window) and a window will appear prompting you to Save. Save!

6 Click on Composing (Sixth icon at top of window). Half way down there is a "Send new messages from...". Click on the arrows to select the default account from which you wish to send messages.

7 Click red button to close.


Send a test email to yourself with the Subject Test and the time, ie Test2240.


This worked for me!


Regards


Will

Apr 28, 2013 6:21 AM in response to Bobtherep

Be sure to check your antivirus to ensure that's not causing the problem. I had a similar problem and it turned out to be my Avast! antivirus and internet security that was causing the problem. I disabled the File System Shiled, Mail Shield, and Web Shield, gave Mail another try, and it was good. Things were also good after I renabled the Shields in Avast!.

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.

Mail accounts connection failed in Mountain Lion

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