I am trying to access my Gmail account through PHP. I tried code like this:
$mbox = imap_open("{imap.gmail.com:993/imap/ssl/}", "my email", "my password");
However, after many variations of this code this didn’t work, I talked to my web hosting company (Bluehost) and was informed that the error was due to a firewall on their servers. Getting a dedicated IP address would allow me to access port 993, but retrieving Gmail would still not be possible due to the firewall.
Does anyone know either:
-How to access Gmail with these firewall settings, or
-What web hosting service I could use that would allow me to do access email on an outside server such as Gmail
And BlueHost just said “can’t”? No further offer to help? DTMFA!
I presume you thouroughly searched Google’s excellent help?
I can only say that I use Hostony.com and they are cheap, offer great features and have probably the best tech support I have ever received.
Perhaps you could approach their tech support and say “If you can tell that your service can do this & how to do it, then I will switch to you”. Ask that of all potential hosts.