Hi, Im trying to use the class but it writes "connection is not in TRANSACTION state". I get the error on this code
<?php error_reporting(E_ALL|E_NOTICE);
include 'pop3.php';
$pop3=new pop3_class();
$apop=0;
$pop3->authentication_mechanism="USER";
$pop3->debug=1;
$pop3->html_debug=1;
$pop3->join_continuation_header_lines=1;
$pop3->hostname = "pop.gmail.com";
$pop3->port = 995; // The port that gmail uses...
$pop3->tls = 1; // This is encryption
$user = "
[email protected]";
$password = "passwd";
$pop3->Open();
$pop3->Login($user,$password,$apop);
$pop3->Statistics(&$mess,&$size_of);
var_dump($pop3->error);
?>
It does not work neither linux nor windows.
how do i fix this error? Thanks