Re: Auth/POP3 patch

From: Date: Sun, 26 Oct 2003 15:03:12 +0000
Subject: Re: Auth/POP3 patch
References: 1 2 3  Groups: php.pear.dev 
Request: Send a blank email to pear-dev+get-23003@lists.php.net to get a copy of this message
> >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. > Auth/IMAP uses Net_IMAP. http://cvs.php.net/co.php/pear/Auth/Container/IMAP.php?r=1.7&php=dba1b1dd905e4cccf9f5de142ab83520 <quote> $conn = @imap_open ($dsn, $username, $password, OP_HALFOPEN); </quote> Take a look at it, it uses the raw imap_* functions. Things could be said for using Net_IMAP, or using it as a fallback incase it's not there though :) Cipri

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