PHP Classes

exchange 2010 mailbox

Recommend this page to a friend!

      POP3 e-mail client  >  All threads  >  exchange 2010 mailbox  >  (Un) Subscribe thread alerts  
Subject:exchange 2010 mailbox
Summary:trouble connecting to exchange 2010
Messages:2
Author:james nahon
Date:2011-11-11 00:33:06
Update:2011-11-11 00:42:09
 

  1. exchange 2010 mailbox   Reply   Report abuse  
Picture of james nahon 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.

  2. Re: exchange 2010 mailbox   Reply   Report abuse  
Picture of james nahon james nahon - 2011-11-11 00:42:09 - In reply to message 1 from james nahon
problem solved. have changed port to 995 and enabled tls.