with php's mail() funciton you can send to multiple recipents via the headers. just build the headers so it will BCC to everybody at once. one word of caution, you can only have a header that is 5kb or smaller. otherwise php will start truncating the header. Found that out the hard way.
so, just build a big header and send out 300 at a time. Jim Lucas ----- Original Message ----- From: "Mostafa Al-Mallawani" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Monday, January 28, 2002 11:41 AM Subject: [PHP-WIN] mail to too many users > I need to send an email to 19000 users using a script, any suggestions. > Looping on a result set using the mail function would kill the server. > I know it can be done using a mailing list module but I'm running a > windows machine with IIS, what's the best thing for this? Thanks. > -- PHP Windows Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] To contact the list administrators, e-mail: [EMAIL PROTECTED]