Just wondering if anyone has used imap_open to successfully connect to a Gmail account? I'm having some difficulties and getting a "Couldn't Open Stream" error when trying the following line: $mbox = imap_open("{pop.gmail.com:995/pop3}", "user", "pass"); PHP: Just wondering if anyone else has done this? Maybe gmail has this blocked somehow....
Do they allow pop 3 via port 995? I would just verify this - or maybe theirs another protocol a proxy or something? Just compare your pop3 connection settings when you setup your client vs. the imap code.
Google's Help Center says to use 995 for the port. I tried adding "/ssl" to the end of the connection string because I found that the connection requires SSL.