65 |
var $BANNER = ""; // Holds the banner returned by the |
var $BANNER = ""; // Holds the banner returned by the |
66 |
// pop server - used for apop() |
// pop server - used for apop() |
67 |
|
|
|
var $RFC1939 = true; // Set by noop(). See rfc1939.txt |
|
|
// |
|
|
|
|
|
var $ALLOWAPOP = false;// Allow or disallow apop() |
|
|
// This must be set to true |
|
|
// manually. |
|
|
|
|
68 |
function POP3 ( $server = "", $timeout = "" ) |
function POP3 ( $server = "", $timeout = "" ) |
69 |
{ |
{ |
70 |
settype($this->BUFFER,"integer"); |
settype($this->BUFFER,"integer"); |
134 |
} |
} |
135 |
$this->FP = $fp; |
$this->FP = $fp; |
136 |
$this->BANNER = $this->parse_banner($reply); |
$this->BANNER = $this->parse_banner($reply); |
|
$this->RFC1939 = $this->noop(); |
|
|
if($this->RFC1939) |
|
|
{ |
|
|
$this->ERROR = "POP3: premature NOOP OK, NOT an RFC 1939 Compliant server"; |
|
|
$this->quit(); |
|
|
return false; |
|
|
} |
|
137 |
return true; |
return true; |
138 |
} |
} |
139 |
|
|