note 23448 added to ref.mail
| From: | ben at kazez dot com | Date: | Thu, 18 Jul 2002 17:49:03 +0000 |
| Subject: | note 23448 added to ref.mail | ||
| Groups: | php.notes | ||
| Request: | Send a blank email to php-notes+get-33263@lists.php.net to get a copy of this message | ||
On July 12, "topxse" wrote:
> Please note that the mail() function is pretty slow, so if you are planning
> to develop a script which has to be able to send a few thousand emails or
> more, you will need to use set_time_limit() in order to make sure the
> script doesn't time out.
> Also, you might want to create your own mailing function, which could save
> in time.
I am having this very problem: sending out just one message takes over 80 seconds. (I timed it with
microtime().) How do you create your own mailing function? Is there a website I can go to to find
out about this? Speed is very important in this script.
I'd appreciate any help you can give me!
Ben
. . . . . . . . . . . . . . . .
Ben Kazez
http://ben.kazez.com/
--
http://www.php.net/manual/en/ref.mail.php
http://master.php.net/manage/user-notes.php?action=edit+23448
http://master.php.net/manage/user-notes.php?action=delete+23448
http://master.php.net/manage/user-notes.php?action=reject+23448