Hi Everyone...
I have a MySQL database set up to store email addresses for subscribers of my site...
I have a form set up to send everyone an email...
the form sends $subject and $body to this script...
PHP Code:
$query = "SELECT email_addresses FROM database";
$result = mysql_query ($query);
while ($row = mysql_fetch_array($result, MYSQL_NUM)) {
mail ($row[0], $subject, $body, "From: me@my_web_site.com");
}
Here is what happens...
Only the first 4 or 5 subscribers receive the email... Is there some sort of spam protection built in somewhere??? How do I get around this???
Thanks,
Bryan
Last edited by Bryan; 04-28-2005 at 12:09 PM..
|