
Jacob Erez - 2012-03-13 15:44:53 -
In reply to message 2 from Manuel Lemos
great class, but can't access google apps
I followed your article:
$pop3=new pop3_class;
$pop3->hostname="pop.gmail.com"; /* POP 3 server host name */
$pop3->port=995; /* POP 3 server host port,
usually 110 but some servers use other ports
Gmail uses 995 */
$pop3->tls=1; /* Establish secure connections using TLS */
$user="xxxxxx"; /* Authentication user name */
$password="yyyyyyy"; /* Authentication password */
$pop3->realm=""; /* Authentication realm or domain */
$pop3->workstation=""; /* Workstation for NTLM authentication */
$apop=0; /* Use APOP authentication */
$pop3->authentication_mechanism="USER"; /* SASL authentication mechanism */
$pop3->debug=1; /* Output debug information */
$pop3->html_debug=1; /* Debug information is in HTML */
$pop3->join_continuation_header_lines=1; /* Concatenate headers split in multiple lines */
and getting:
Connecting to pop.gmail.com ...
Error: 110 could not connect to the host "pop.gmail.com": Connection timed out
pop3 is enabled on my google account
Thank you for your help
Coby