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

Request #4918 POP3 Container and Net::POP3 authentication
Submitted: 2005-07-26 10:59 UTC
From: bogart at upnet dot gr Assigned: aashley
Status: Closed Package: Auth
PHP Version: 4.4.0 OS: Irrelevant
Roadmaps: (Not assigned)    
Subscription  


 [2005-07-26 10:59 UTC] bogart at upnet dot gr
Description: ------------ Net::POP3 allows to define the preferred authentication method from the set of 'CRAM-MD5', 'APOP' , 'PLAIN' , 'LOGIN', and 'USER'. It would be useful (at least for us:-) to extend the Auth POP3 container to accept an optional third parameter, $method, and use it as: $result = $pop3->login($username, $password, $method); That way, the developer is allowed to choose the preferred POP3 authentication method for his/her environment. Currently, the default method of Net::POP3 is APOP, which is not supported by all POP3 servers. PEAR::Auth does not pass a method and thus, Net::POP3 tries APOP. In our environment, the POP3 server (qmail) closes the connection. So, the fall back method of 'USER' in Net::POP3 is not tried. Thus, we cannot use the POP3 Container :-( )

Comments

 [2006-02-21 05:27 UTC] aashley at php dot net
This bug has been fixed in CVS. If this was a documentation problem, the fix will appear on pear.php.net by the end of next Sunday (CET). If this was a problem with the pear.php.net website, the change should be live shortly. Otherwise, the fix will appear in the package's next release. Thank you for the report and for helping us make PEAR better.