Do you have a question? Post it now! No Registration Necessary. Now with pictures!
- Posted on
- Tips for a very fast PHP webmail
June 20, 2007, 2:45 am
rate this thread
and I want it to be as fast as possible. I was comparing loading a
list of messages using the imap function set of PHP and displaying the
same amount of information using a simple SQL query from MySQL. I
found MySQL faster, I'm about to store all e-mails automatically into
a MySQL database because of that and also because of the search speed/
features that I want. But before going further, I'd like to know if
you think it's my best bet to go this way and to use the imap set of
functions of PHP just to import messages into the MySQL DB during the
installation of the application. I would use e-mail piping so that as
soon as I get mails, my php script would store them into the DB.
Please let me know what you think, and if you have extra tips,
Re: Tips for a very fast PHP webmail
Just out of curiosity, is this like a clone of Matt Wright's FormMail
written in Perl but just better?
I've written a nice little PHP FormMail myself, a "Lite" version to
start with that's customizable and fast, quite pretty if I do say so
myself ;) and works almost "out the box" (it comes with a very well
I couldn't tell you anything about IMAP, but why a DB? Is that so all
mails are stored until the admin deletes them? Beware of things like SQL
injection and so forth if you're going the DB route. But you probably
know about stuff like that.