Re: Imap Backend Propsal
| From: | Ian Eure | Date: | Thu, 29 Jan 2004 18:53:54 +0000 |
| Subject: | Re: Imap Backend Propsal | ||
| References: | 1 | Groups: | php.pear.dev |
| Request: | Send a blank email to pear-dev+get-25334@lists.php.net to get a copy of this message | ||
On Wednesday 28 January 2004 11:44 pm, Richard York wrote:
> Hello,
> (snip)
I like the idea, but I'd like to see the code refined a bit.
1. It would be nice if there was a connection helper class. The connection
syntax looks arcane:
$msg =& new
Mail_ImapMailbox(imap_open('{mail.yourhost.com:110/pop3/notls}INBOX', 'user',
'pass'));
2. $dataTypes & $encodingTypes class vars should be moved to the class
definition instead of being set in the constructor.
3. I like Mail_IMAP better, too. :^)