ojotespoder utilizar esa cuenta con Gmail.
Código PHP:
$mbox = imap_open("{mexcomp.com:143}", "[email protected]", "passworddemicuenta")
or die("can't connect: " . imap_last_error());
$overview = imap_fetch_overview($mbox, "2,4:6", 0);
if (is_array($overview)) {
reset($overview);
while (list($key, $val) = each($overview)) {
echo $val->msgno
. " - " . $val->date
. " - " . $val->subject
. "<br>\n";
}
}
imap_close($mbox);
