Thank you VERY MUCH for your suggestion, and I need to learn more about sendmail, not php I guess.
the idea you had didn't work ANY better, basically it sends out about one email every half second. I'm trying to get a rate at least 20 - 30 times that to be usable. I tested it this way:
for($i=1;$i<=200;$i++){
echo 'sending '.$i."<br>";
$p = popen($sm,"w");
fputs($p, "To: $to\n");
fputs($p, "From: $from\n");
fputs($p, "Subject: $subject $i\n");
fputs($p, $myheaders."\n\n");
fputs($p, $message."\n");
fputs($p, ".\n");
pclose($p);
}
Anyway, is it possible to write the ENTIRE set of emails to a single file, and then have perhaps a cron job to grab the contents and send them out as mail at regular intervals? Mail is an important feature, and I'm sure someone has figured out how to pump out more than a few emails every second.
Best,
Sam Fullman