PEAR is discontinued

This is a static archive preserving historical releases and metadata. No new packages or updates will be published. For updates to existing packages, or to publish new packages, please use Composer and Packagist.

Home » Networking » Net_POP3 » Bug #1505

numMsg() always returns PEAR_error

Details

Submitted2004-05-26 10:24 UTC
Fromd-sano at cybozu dot co dot jp
Assigneddamian
StatusClosed
PackageNet_POP3
PHP Version4.3.6
OSWindows 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