Hey
I have just over 100 contacts i need to e-mail to
while ($row = mysql_fetch_array($result)){
$message = "Hello ".$row['first_name'].", \r\n";
$message = $message.$_POST['message'];
if (mail($row['email_address'], $subject, $message, $headers)){
$sent ++;
}else{
$error ++;
}
}
Will this run okay? I have looked at other methods (pear, smtp) but wondering if this will run okay?
Thanks