>> 2 - Yes. The script works if the # of e-mails is small.

More than likely, the script is timing out.
see http://www.php.net/set_time_limit

> Here's a copy:
>
> <?php
> $connection=mysql_connect("localhost","wagner","xxx") or die ("No
> connection!");
> $db=mysql_select_db("sbwresearch_com",$connection) or die ("No
database!");
>
> $message="Dear consumer,\n ... etc ...\n";
>
> $qry_1="select e_mail from con_inf";
> $result_1=mysql_query($qry_1,$connection) or die ("No query # 1!");
> while ($row_1=mysql_fetch_array($result_1, MYSQL_ASSOC))
> {
> $e_mail=$row_1["e_mail"];
> mail("$e_mail",
>       "News from SBW Research",
>       "$message",
>       "From:SBW Research <[EMAIL PROTECTED]>\n");
> echo "$e_mail<br>";
> };
> mysql_free_result($result_1);
> mysql_close($connection);
> exit;
> ?>
>
> Thanks!
>
> Anthony Rodriguez
> ([EMAIL PROTECTED])
>
>


-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to