"Mail can't connect to the account 'Gmail'"

This issue arose this morning. Mail requests my Gmail account password and, after having entered it numerous times, continuously fails to connect to the account. Mail is failing to connect to both the incoming and outgoing servers, despite the correct information being entered for each. Furthermore, Mail now fails to connect to the IMAP server of the added iCloud account. I'm on a 2012 iMac running Mountain Lion and Mail 6.3. I've tried readding the Gmail account, to no avail. Any ideas?

MacBook Pro, OS X Mountain Lion, 13-inch, Mid 2009

Posted on May 15, 2013 11:02 AM

Reply
Question marked as Top-ranking reply

Posted on Aug 29, 2014 5:44 PM

You've got to watch out for Googles tricky "Use Less Secure Apps" setting in your account, as I just just spent quite a few hours coming unhinged. that setting must be enabled to allow imap to work with Apple mail. I really like that little scare tactic from the GooGoblins. 👿

Click on your account picture ✅

select Account from the drop down ✅

next to Personal info on the top menu items, select Security

Look at bottom left pane named Account permissions - Access for less secure apps select Settings

Select Enable

Select Done

............😠



71 replies

Jul 24, 2017 11:28 AM in response to ixmati

correct. had the same issues today, and had already done what it states above. although i didn't need to adjust /add my user name to be my email address, I did add it, after reading this, just in case. What I did do, is go to my Gmail account, on the Chrome/Google server, clicked on the IMAP setting, then when mail continued to NOT open anything but iCloud, although it EVENTUALLY said it was connecting to the internet, I went back to Chrome/Gmail, and UNCLICKED the IMAP setting. THEN IMMEDIATELY, my mail was PERFECT. My mail IS in IMAP, even though my Google serve has IMAP "unchecked". THAT is basically all I did. I did, as stated above go into the keychain, and check everything.

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 can't connect to the account 'Gmail'"

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