Home » Networking » Net_POP3 » Bug #1505
numMsg() always returns PEAR_error
Details
| Submitted | 2004-05-26 10:24 UTC |
|---|---|
| From | d-sano at cybozu dot co dot jp |
| Assigned | damian |
| Status | Closed |
| Package | Net_POP3 |
| PHP Version | 4.3.6 |
| OS | Windows XP |
| Roadmaps | (Not assigned) |
Comments
[2004-05-26 10:24 UTC] d-sano at cybozu dot co dot jp
Description:
------------
The numMsg() function always returns PEAR_error regardless of successfully login when AUTH LOGIN used.
The version number is 1.3.1.
Maybe a line has need to be read after the 'AUTH LOGIN' command in the _authLogin() function.
function _authLOGIN($user, $pass )
{
$this->_send('AUTH LOGIN');
/****here****/
if ( PEAR::isError( $challenge = $this->_recvLn() ) ) {
return $challenge;
}
/************/
if ( PEAR::isError( $ret = $this->_send(sprintf('"%s"', base64_encode($user))) ) ) {
return $ret;
}
...
[2004-05-26 10:28 UTC] d-sano at cybozu dot co dot jp
Net_Dict -> Net_POP3