iPhone SSL errors
If you're receiving SSL-related errors, such as 'Cannot Connect Using SSL' when accessing Gmail via IMAP, check that your iPhone settings are correct.
If your settings are right, you may be connecting through a wi-fi network that contains a firewall. Please try connecting to IMAP through a connection other than wi-fi to see if this resolves the issue. If the problem continues, we suggest following up with your service provider or with your wireless network's support team.
Vivian is a Gmail expert and the author of this help page. Leave her feedback about this help page.