note 35127 added to ref.mail

From: Date: Wed, 20 Aug 2003 17:30:18 +0000
Subject: note 35127 added to ref.mail
Groups: php.notes 
Request: Send a blank email to php-notes+get-54769@lists.php.net to get a copy of this message
In response to the function posted by grey at greywyvern dot com: That function could be made a lot faster if you put all of the arguments of the fputs calls into one big string, and then made one call to fputs after the while loop. As a test, I sent a message to one hundred addresses. It took 14 seconds with your function, and about 2 or 3 seconds with just the one fputs call. Paul Lalli ---- Manual Page -- http://www.php.net/manual/en/ref.mail.php Edit Note -- http://master.php.net/manage/user-notes.php?action=edit+35127 Delete Note -- http://master.php.net/manage/user-notes.php?action=delete+35127&report=yes Reject Note -- http://master.php.net/manage/user-notes.php?action=reject+35127&report=yes

« previous php.notes (#54769) next »