RE: [PEAR-DEV] Mail_Mbox

From: Date: Sat, 28 Dec 2002 17:41:32 +0000
Subject: RE: [PEAR-DEV] Mail_Mbox
References: 1  Groups: php.pear.dev 
Request: Send a blank email to pear-dev+get-11889@lists.php.net to get a copy of this message
> -----Original Message----- > From: Eric [mailto:eric@ypass.net] > Sent: Saturday, December 28, 2002 6:30 PM > To: Chandrashekhar Bhosle > Cc: Bertrand Mansion; roberto@desenvolve.com.br; pear-dev@lists.php.net > Subject: Re: [PEAR-DEV] Mail_Mbox > > > +1 to have drivers for multiple mailstores. Don't forget Maildir++ for > quota support. > > On Sat, 28 Dec 2002, Chandrashekhar Bhosle wrote: > > > > > How about a common Mail_Store class with drivers for mbox, mh and > > Maildir formats just like we have DB with DB/mysql.php etc. This > > would allow the same code to work even if the underlying storage > > format changes. > > > > > <roberto@desenvolve.com.br> wrote : > > > > > > > > I developed a Mbox parse class that read messages, change, add and > > > > delete from a mbox file. > > > > > > Well let's take it slow. I suggest that we first decide in adding this class to PEAR. Then in a step two additional "backends" can be added by separating the common and the "backend" specific methods. So this makes the naming a bit complicated. I would therefore suggest naming the class something like "Mail_[XXX]_Mbox" for now ... I don’t like "Store" as suggested earlier, because that does not make it claer that the class can do more then "store" aka "add". Regards, Lukas

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