Originally Posted By: deniro
Thanks.

I created a gmail account but when I tried to create a new act in Mail, I got the message "Logging in to the Gmail IMAP server “imap.gmail.com” failed."

That generally means you have an error either in the email address or in the password. In case you may have forgotten the password you can get it by
  1. On your Mac, open Keychain Access
  2. Search for Accounts.google.com
  3. select it
  4. the correct email account name should be shown in parenthesis so verify you are using the correct account name.
  5. click on Copy at the bottom of the Keychain [Access Window
  6. Enter your administrative account password on the Mac
  7. put the pointer in the password field for the Google account in Mail and Press ⌘v to paste the password in place.
To get the password for use on your iOS device
  1. Follow steps 1 through 4 preceding
  2. Click on the Info icon ℹ️ at the bottom of the window
  3. Click the Show Password check box
  4. Enter your administrative account password on the Mac
  5. enter the password in the proper field on your iOS device. (Be VERY careful and remember this is case sensitive.



"All you've got to do is own up to your ignorance
honestly, and you'll find people who are eager to
fill your head with information"
--Walt Disney