Hi, I have a mail script, and It takes a while to finsih the entire list of emails... righ tnow it sends out 1 email for every user.. when we got over 900 users, its takes a while
heres my code
Is there way to speed this up a little. Maybe I way to send it to all the users in one email..PHP Code:while ($row = mysql_fetch_array($result))
{
$to = $row[email];
$content="blah";
$from="fdsafa";
mail($to, $subject, $content, "FROM:".$from)
or die ("error sending mail");
echo "<center>Mail sent to $row[name]<br>";
}
I havnt seen them for a few years, but isnt there such thing as a bcc? similar to cc, but u dont see who else the message was sent to (blind-carbon-copy)
any help would be great
thanx





Bookmarks