
james nahon - 2011-11-11 00:33:06
hi there,
i am using this class and have setup the config section as below.
$pop3=new pop3_class;
$pop3->hostname="pop3.domain.com"; /* POP 3 server host name */
$pop3->port=110; /* POP 3 server host port,
usually 110 but some servers use other ports
Gmail uses 995 */
$pop3->tls=0; /* Establish secure connections using TLS */
$user="xxxx"; /* Authentication user name */
$password="xxxx"; /* Authentication password */
$pop3->realm="xxxx"; /* 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 */
the output from browse_mailbox.php is:
Connecting to pop3.domain.com ...
S +OK The Microsoft Exchange POP3 service is ready.
Connected to the POP3 server "pop3.domain.com".
C USER xxxx
S -ERR Command is not valid in this state.
Error: User error: Command is not valid in this state.