You open Mail on your Mac and nothing new arrives. A small lightning-bolt or warning icon sits next to your inbox, and hovering over it shows a message like “Mail cannot connect to the server” or “The server returned the error: Unable to connect”. Outgoing messages sit stuck in the Outbox.
In most cases, the cause is a changed password, an expired sign-in, or a network issue, not a fault with your Mac. Work through the steps below in order; most people are back up and running within the first four.
What usually causes the error
- Expired or changed password. You changed your email password on another device, but Mail is still using the old one.
- Sign-in token expired. Gmail, Outlook and Yahoo now use secure sign-in that occasionally needs renewing.
- Network problems. Weak Wi-Fi, a VPN, a public hotspot or a firewall blocks the mail ports.
- Wrong server settings. A manual setup has the wrong server name, port or security option.
- Provider outage. Your email service is down for everyone.
- Corrupted mailbox data. Mail’s local copy of your mailbox has become damaged, often after a macOS update.
How to fix it, step by step
Step 1: Run Connection Doctor
Mail has a built-in diagnostic tool. In Mail, go to Window → Connection Doctor. It checks your internet connection, then tests each account’s incoming and outgoing servers.
A green dot means that connection works; a red dot shows where the problem is. Click Show Detail for the exact error, such as a password rejection or a timeout. Use what it finds to jump to the right step below.
Step 2: Check your internet connection
Open Safari and load a website. If pages are slow or fail, the problem is your network, not Mail.
- Turn Wi-Fi off and on from the menu bar, or restart your router.
- Try a different network, such as your phone’s hotspot.
- On public Wi-Fi in cafes, hotels or offices, sign in through the network’s login page first. Some public networks also block email ports entirely.
If your home Wi-Fi is the weak point, see our guide to improving weak Wi-Fi in your HDB bedroom [LINK: replace with the HDB Wi-Fi article URL once published].
Step 3: Check whether your email provider is down
If everything else on your Mac works, sign in to your email in a web browser (Gmail, Outlook.com, iCloud.com and so on). If webmail also fails, or loads with an error, the provider is likely having an outage. Check its status page or social media, then wait it out.
Step 4: Sign in again or update your password
This fixes the error for most people.
- Open System Settings → Internet Accounts (on older macOS, System Preferences → Internet Accounts).
- Select the email account. If it shows a warning or a Sign In button, click it and sign in again.
- If you recently changed your password, enter the new one when prompted.
You can also check the password in Mail: go to Mail → Settings → Accounts, choose the account, and open the Server Settings tab.
Using two-factor authentication with a manual IMAP setup? Providers such as Yahoo, and Gmail accounts not added through Internet Accounts, may reject your normal password. Create an app password in your provider’s security settings and use that in Mail instead.
Step 5: Let Mail manage server settings automatically
In Mail → Settings → Accounts → Server Settings, tick Automatically manage connection settings for both incoming and outgoing servers. Mail then picks the correct ports and security options for you.
If you set up the account manually and need to enter details yourself, compare them with the table in the next section.
Step 6: Turn off your VPN, proxy or firewall
VPNs, ad blockers, antivirus apps and firewall tools can block the ports Mail uses. Disconnect your VPN and pause any security software, then try Connection Doctor again. If that fixes it, add Mail as an exception in that app’s settings rather than leaving protection off.
Work laptops may also be locked down by company network rules. In that case, ask your IT team.
Step 7: Check the date, time and macOS version
Secure mail connections rely on certificates, which fail if your Mac’s clock is wrong. Go to System Settings → General → Date & Time and turn on Set time and date automatically.
Then check System Settings → General → Software Update. Apple fixes Mail bugs in macOS updates, and an older version may not support your provider’s current security requirements.
Step 8: Rebuild the mailbox
If only one mailbox misbehaves, or messages appear blank, select that mailbox in the sidebar, then choose Mailbox → Rebuild. Mail re-downloads its contents from the server. Large mailboxes can take a while, so leave Mail open until it finishes.
Step 9: Remove and re-add the account
If nothing else works, start fresh:
- Go to System Settings → Internet Accounts, select the account and click Delete Account (or the minus button).
- Restart your Mac.
- Add the account again from Internet Accounts, choosing your provider (Google, Microsoft Exchange, Yahoo, iCloud) rather than “Other” where possible.
With IMAP and Exchange accounts, your email stays on the server and downloads again. Be careful with POP accounts: messages may exist only on your Mac, so back them up first using Mailbox → Export Mailbox.
Step 10: Try Safe Mode
Starting your Mac in Safe Mode loads only essential software and clears some caches. On an Apple silicon Mac, shut down, then hold the power button until startup options appear, select your disk, hold Shift and click Continue in Safe Mode. On an Intel Mac, hold Shift as it starts up. Open Mail and test it, then restart normally.
If Mail works in Safe Mode, a third-party app or Mail plugin is likely the cause.
Common email server settings
Use these only if you set up an account manually. Always tick Use TLS/SSL, and use your full email address as the username.
| Provider | Incoming (IMAP) server | Port | Outgoing (SMTP) server | Port |
| Gmail | imap.gmail.com | 993 | smtp.gmail.com | 465 or 587 |
| Outlook.com / Hotmail | outlook.office365.com | 993 | smtp-mail.outlook.com | 587 |
| iCloud Mail | imap.mail.me.com | 993 | smtp.mail.me.com | 587 |
| Yahoo Mail | imap.mail.yahoo.com | 993 | smtp.mail.yahoo.com | 465 or 587 |
For a work or Singapore ISP email address (such as a Singtel or StarHub mailbox), get the exact settings from your IT team or the provider’s help page, since they differ between services.
Frequently asked questions
Why can I receive email but not send it? The outgoing (SMTP) server is the problem. Run Connection Doctor, then check the outgoing server’s password and port in Server Settings. Some networks block port 25, so use 465 or 587 instead.
Mail keeps asking for my password, even when it’s correct. What now? Remove the account from Internet Accounts and add it back by choosing your provider, not “Other”. This switches it to secure sign-in, which stops the repeated prompts. Also check Keychain Access for an old saved password for that account.
Will deleting and re-adding my account delete my emails? Not for IMAP, iCloud, Gmail or Exchange accounts, as your mail lives on the server. With POP accounts, export your mailboxes first.
Could this be a security issue? Rarely, but if you see unexpected password-reset emails or sign-in alerts, change your password from a trusted device and turn on two-factor authentication. Our overview of top cybersecurity threats in Singapore for 2026 covers the phishing tactics to watch for.
Is there an alternative to Apple Mail? Yes. Outlook, Spark and the Gmail website all work well on a Mac, and AI-powered email assistants can help you sort a cluttered inbox. See our pick of the best AI tools for productivity in 2026.
The bottom line
When Mac Mail cannot connect to the server, start with Connection Doctor, then sign in again from Internet Accounts. Those two steps solve most cases. If not, check your network, VPN and server settings, and remove and re-add the account as a last resort. Shopping for a new MacBook? Browse our laptop reviews, or find more fixes on the Singapore Geeks blog
