For no good reason at all, my iPhone’s ability to access Gmail’s IMAP server occasionally goes wonky, producing the dreaded “The connection to the server ‘imap.gmail.com’ failed” error. That sucks, because it leaves me without easy access to Gmail.
Suffering from the same problem? The fix is easy. From the iPhone (or computer) you’re using to access your Gmail IMAP account:
2) Enter your name, Gmail password, and the supplied Captcha phrase (the string of nonsense letters provided on the page)
3) There is no step three — after doing this, the iPhone or computer you’re working from will have no problem at all accessing Gmail’s IMAP server.