Re: Is a while loop the most efficient way to send out multiple emails?
| From: | Marek Kilimajer | Date: | Tue, 30 Dec 2003 15:53:00 +0000 |
| Subject: | Re: Is a while loop the most efficient way to send out multiple emails? | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-173474@lists.php.net to get a copy of this message | ||
Dave G wrote:
So my question is, is there a way more efficient than while loops to send out multiple emails with personalized information? Is it the mail() command that takes time, or the mysql_fetch_array(), or both? Any suggestions would be greatly appreciated.It's the mail() function. I've seen a class that connects to smtp server and sends all emails in one connection, author claimed it was faster than the built-in mail() function.