PDA

View Full Version : reading gmail from bluehost



lamskm
04-14-2009, 10:17 AM
Has anyone been able to connect to the gmail servers to download email to blue host?

I tried the following with another host which works:
<?php
$fp = @fsockopen("ssl://imap.gmail.com", 993, $errno, $errstr, 5);
if($fp) echo "success";
else echo "failure: ".$errstr;
?>

but yields failure on bluehost.

Does anyone have a fix to this?

Thanks

-Michael