Package home | Report new bug | New search | Development Roadmap Status: Open | Feedback | All | Closed Since Version 1.3.8

Bug #2523 Unable to login to Qmail servers
Submitted: 2004-10-13 14:46 UTC Modified: 2004-12-05 11:39 UTC
From: johann dot hoehn at ecommerce dot com Assigned: damian
Status: Closed Package: Net_POP3
PHP Version: 4.3.8 OS: Red Hat 7.3
Roadmaps: (Not assigned)    
Subscription  


 [2004-10-13 14:46 UTC] johann dot hoehn at ecommerce dot com
Description: ------------ Qmail is 1.0.3(an perhaps others) does not support the CAPA command. It should attempt to login even if the CAPA command fails. Reproduce code: --------------- $pop3 =& new Net_POP3(); $pop3->setDebug(); $pop3->connect(mail.opentransfer.com, 110); Expected result: ---------------- Skip the CAPA and issue the USER and PASS commands with the supplied arguments. Actual result: -------------- S:+OK <13630.1097693406@mailc6.opentransfer.com> C: CAPA S:-ERR authorization first

Comments

 [2004-10-14 08:16 UTC] johann dot hoehn at ecommerce dot com
Fixed internally.
 [2004-10-14 09:49 UTC] johann dot hoehn at ecommerce dot com
Forgot to add the code change needed to fix the problem in the function _parseCapability() if(!PEAR::isError($data = $this->_sendCmd('CAPA'))){ $data = $this->_getMultiline(); } else { // CAPA command not supported, reset data var // to avoid Notice errors of preg_split on an object $data = ''; }
 [2004-12-05 11:39 UTC] damian
Thank you for your bug report. This issue has been fixed in the latest released version of the package, which you can download at http://pear.php.net/get/Net_POP3