How To Fix “Login to server imap.mail.me.com failed” Issues on Postbox or Thunderbird

mobile-me-error_thumb

There is nothing more annoying than getting repeated email error messages in your email client from an email server. Sometimes this can be caused by issues with the server, or perhaps the connection, or because some configuration has changed or simply because you have not set up your email properly. Recently in my Postbox app (which is based on the OpenSource Thunderbird project), I started getting repeated login errors coming from my Apple Me.com account, specifically “Login to server imap.mail.me.com failed.” But with a little bit of research, I was able to find a solution.

"Login to server imap.mail.me.com failed" Error
“Login to server imap.mail.me.com failed” Error

Does that warning look familiar? If so, read on for the solution.

iCloud Email Server Information (from Apple)

If you configured your email account (and this could be true for other email clients but I have only tested this with Postbox), you may have some old configurations that need to be changed. You probably set up your Mac.com/MobileMe/iCloud email settings using this Apple Support Document which states the following for setup:

Server information

IMAP (Incoming Mail Server) information:

  • Server name: imap.mail.me.com
  • SSL Required: Yes
  • Port: 993
  • Username: [email protected] (use your @me.com address from your iCloud account)
  • Password: Your iCloud password

SMTP (outgoing mail server) information:

  • Server name: smtp.mail.me.com
  • SSL Required: Yes
  • Port: 587
  • SMTP Authentication Required: Yes
  • Username: [email protected] (use your @me.com address from your iCloud account)
  • Password: Your iCloud password

Note: If you receive errors using SSL, try using TLS instead. SSL is required for both IMAP and SMTP connection with iCloud. POP is not supported by iCloud.

Apple's Official Configuration
Apple’s Official Configuration

This is what the configuration looked like in my Postbox setup (based on Apple’s recommendations):

"Wrong" configuration within Postbox
“Wrong” configuration within Postbox

This setup MIGHT NOT work with Thunderbird/Postbox (again, I haven’t tested this with other email clients but if you have issue, you might want to test out the “fix” below).

Corrected iCloud Server Information for Postbox/Thunderbird

After a little bit of research and some trial and error, I was able to successfully change my iCloud email configuration to get it to work. Here is the proper (working) configuration for use with Postbox/Thunderbird:

Server information

IMAP (Incoming Mail Server) information:

  • Server name: imap.mail.me.com
  • SSL Required: Yes
  • Port: 993
  • Username: example@me.com (use your @me.com address from your iCloud account – take just the username from your @me.com address)
  • Password: Your iCloud password

SMTP (outgoing mail server) information:

  • Server name: smtp.mail.me.com
  • SSL Required: Yes
  • Port: 587
  • SMTP Authentication Required: Yes
  • Username: example@me.com (use your @me.com address from your iCloud account – take just the username from your @me.com address)
  • Password: Your iCloud password

Save that configuration and test it out. This is how it looks in my Postbox configuration:

Correct information in Postbox
Correct information in Postbox

And this is how it looks in the SMTP settings:

Correct SMTP information in Postbox
Correct SMTP information in Postbox

Note: you can potentially try the other Authentication option of “STARTTLS” if the “SSL/TLS” doesn’t work

Also remember, MobileMe (or Me.com) and Mac.com are now officially called iCloud so if you have a MobileMe email address like [email protected] or a Mac.com address like [email protected], it is now (also) [email protected].

Just removing the “@me.com” from the User Name seems to make that silly error (“Login to server imap.mail.me.com failed”) message go away. Give it a test and let me know if it worked for you. If it does work, let me know what email client it worked on.

HTD says: Don’t you hate these tiny little configuration changes?

11 Responses

  1. I have totally forgotten my password for a me.com account.How do I reset the password?

  2. If you go to me.com (which translates to iCloud.com), down at the bottom of the login page, you will see a “Forgot ID or password?” link. Use that. me.com and iCloud.com are the same.

  3. Hey, not original commenter but I just wanted to let you know this worked! It was a massive pain in the ass trying to go through all the possible problems but the 2-factor authentication was the root of the problem. For others wondering how to get around that, steps can be found here: https://support.apple.com/en-ca/HT204397

  4. Totally worked for me too! Fantastic! I was pulling my hair out trying to figure this out after I had to reinstall macOS and a Time Machine back up, and Thunderbird wouldn’t connect. I did everything, removed the plist, changed AppleID password, rebuilt the account a few times in Thunderbird. Thank you!

  5. Hi all,
    For me this did not work, but I seem to have a different issue.
    I use Thunderbird Mail as my E-Mail client, instead of the default Apple Mail.
    For this, I need a separate “third party App” password. This must be generated on the site to manage your Apple ID stuff.
    https://appleid.apple.com/account/manage
    What helped was.
    Generate a new password for my App I named “Thunderbird”
    This means that each time you change your apple id password, you must also change your app password(s).

  6. Thanks a million for this page!
    My problem was the app-specific password too.
    I thought that my 10-years old password wasn’t safe enough anymore and made it more secure.
    I wonder why Postbox had continued to work without one for so long.
    Apple really needs to document such quirks much better and post helpful a cautionary hint wherever the user is faced with the potential of unexpected complications.

Leave a Reply

Your email address will not be published. Required fields are marked *

This site uses Akismet to reduce spam. Learn how your comment data is processed.

Other articles of interest

Global Product Review Disclosure

Disclosure: This is a global disclosure for product review articles on HighTechDad. It does not apply to Automobile reviews and there are other exceptions. Therefore, it may or may not be applicable to this particular article. I may have a material connection because I may have received a sample of a product for consideration in preparing to review the product and write this or other content. I was/am not expected to return the item after my review period. All opinions within this and other articles are my own and are typically not subject to the editorial review from any 3rd party. Also, some of the links in the post above may be “affiliate” or “advertising” links. These may be automatically created or placed by me manually. This means if you click on the link and purchase the item (sometimes but not necessarily the product or service being reviewed), I will receive a small affiliate or advertising commission. More information can be found on my About page.

About HighTechDad

Michael Sheehan (“HighTechDad”) is an avid technologist, writer, journalist, content marketer, blogger, tech influencer, social media pundit, loving husband and father of 3 beautiful girls living in the San Francisco Bay Area. This site covers technology, consumer electronics, Parent Tech, SmartHomes, cloud computing, gadgets, software, hardware, parenting “hacks,” and other tips & tricks.

Recent Articles

Explore Categories