Re: [PHP] mail() takes too much time

2007-09-02 Thread brian
shiplu wrote: Hello everybody, I am maintaining a social network site. there each user can send other mail. these mails are not real mail rather message entry to database. I added a new feature so that every message is sent to me (admin/webmaster) via email (real e-mail). I used mail function. T

Re: [PHP] mail() takes too much time

2007-09-02 Thread Gavin M. Roy
You might want to consider a few things: Queueing your email in a database table and sending it out in a separate process. or Finding a mail daemon that will queue quickly for you and not send directly on adding to the queue. I use the first of the two options and it works quite well for us. G

Re: [PHP] mail() takes too much time

2007-09-02 Thread Stut
shiplu wrote: I am maintaining a social network site. there each user can send other mail. these mails are not real mail rather message entry to database. I added a new feature so that every message is sent to me (admin/webmaster) via email (real e-mail). I used mail function. THis is a simple ma

[PHP] mail() takes too much time

2007-09-02 Thread shiplu
Hello everybody, I am maintaining a social network site. there each user can send other mail. these mails are not real mail rather message entry to database. I added a new feature so that every message is sent to me (admin/webmaster) via email (real e-mail). I used mail function. THis is a simple