Re: web mail clients?
| From: | Mike Eheler | Date: | Mon, 31 Dec 2001 17:43:13 +0000 |
| Subject: | Re: web mail clients? | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-79135@lists.php.net to get a copy of this message | ||
Depends what you want to do with it.
If you want it to grab messages from a POP server, and download them to your local machine, then some sort of cyclic folders database structure would help:
int auto_inc folderid
int default(0) parentid (= 0 if root, otherwise id of parent folder)
str foldername
Then your mail database:
int auto_inc mailid
int default(0) folderid
subject
... etc ...
I would suggest setting up an IMAP server somewhere.. in which case all you really need to do is grab Horde/IMP from http://www.horde.org/imp and use that. The latest version is quite good.
Mike
Philip Jeffs wrote:
Hi, I'm looking into setting up a web based mail client for personal use. I've got most of it figured out (sending, recieving, forwarding etc..). I need to be able to use folders in the mail client to organise the messages. Whats the best way of moving messages around? Do i need to store them as files / in a database or is there an easier way to do it? Thanks. ----------------------------- Philip Jeffs The Tickle Group The Gate House Summerseat Bury Lancashire BL9 5PE United Kingdom W: http://www.tickle.co.uk T: 01706 823456 F: 01706 829500 E: phil@tickle.co.uk (daytime)dark-star@genie.co.uk (evening)-----------------------------