Re: Auth/POP3 patch

From: Date: Thu, 23 Oct 2003 15:46:11 +0000
Subject: Re: Auth/POP3 patch
References: 1  Groups: php.pear.dev 
Request: Send a blank email to pear-dev+get-22935@lists.php.net to get a copy of this message
"Tadashi Jokagi" <elf@php.net> schreef in bericht news:20031023152157.23622.qmail@pb1.pair.com... > Hi, > > The present Auth/POP3 seem to be only for APOP. > However, I attest by POP3. > Then, I created the easy patch. > Please make it reference. > > ex) > $auth = new Auth( 'POP3', 'localhost:110:pop3', 'login'); > > $params = array( 'host'=>'localhost', 'port'=>110, > 'apop'=>false); > $auth = new Auth( 'POP3', $params, 'login'); The patch didn't come trough. You'd best create a bug report for this, and attach said patch to the bug, or upload a fully patched file . Also, while the name suggests otherwise, you can use the CVS version of Auth/IMAP.php, and use a baseDSN to make it authenticate to a POP3 server instead. I don't think Yavor released a new version of it alreayd though, so you might need to pull it from the CVS to use it. It is, however, a LOT more efficient then Auth/POP3, since it uses native PHP functions to query the POP3 server, instead of a Pear class that uses sockets. Cipriano Groenendal.

« previous php.pear.dev (#22935) next »