【发布时间】:2009-06-25 02:43:25
【问题描述】:
我需要阅读来自 gmail 的电子邮件,但我无法连接到 gmail pop3 服务器。 有人可以帮我吗?
代码如下:
$pop3 = new POP3;
$pop3->server = 'pop.gmail.com';
$pop3->user = 'username';
$pop3->passwd = 'password';
$pop3->debug = true;
$pop3->pop3_connect()
结果:
Warning: fsockopen() [function.fsockopen]: unable to connect to pop.gmail.com:110 (Connection timed out) in /public_html/cron/pop3.php on line 64
谢谢
【问题讨论】: