Re: Package proposal: Mail_RFC822_Headers
| From: | Martin Jansen | Date: | Fri, 25 Jul 2003 06:26:21 +0000 |
| Subject: | Re: Package proposal: Mail_RFC822_Headers | ||
| References: | 1 | Groups: | php.pear.dev |
| Request: | Send a blank email to pear-dev+get-18669@lists.php.net to get a copy of this message | ||
On Fri Jul 25, 2003 at 01:4834AM +0200, Heino H. Gehlsen wrote:
> After spending some time (actually a lot of time) on Net_NNTP I realized,
> that at least three packages (Mail_Mime, Net_IMAP and NET_NNTP) implement
> functions for parsing message headers.
>
> I've made a class Mail_RFC822_Headers, which, though it quite small (at
> least for the time being) implements the common features form the mentioned
> packages.
Why do we need a fourth class if we already have three performing
essentially the same task? If I were you I'd instead try to improve the
existing solutions and perhaps make two of them use the existing
capabilites of the third "base class".
--
- Martin Martin Jansen
http://martinjansen.com/