OK, let's try to figure this out. BTW, I removed the actual email addresses in the script below between the <> to protect them - but there are only three being sent two - and two are my own!
Just to verify we are talking about the same script - here is my code.
It is in the directory for stonequarryrecords.org, in /public_html/news_admin/mailing_list.php. As you can see, there are only three email addresses in here. There is no way this script could be sending to all the addresses you wrote about.
<HTML>
<HEAD>
<TITLE>Stone Quarry Records</TITLE>
<META http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
</HEAD>
<BODY topmargin=10px bgcolor=#FFFFFF TEXT=#000000>
<CENTER>
<TABLE border=0px bgcolor=#FFFFFF width=632px cellpadding=10px cellspacing=0px>
<TR>
<TD valign="center" align="center" colspan=2>
<B>
<?php
$subject = $_GET[subject];
$message = wordwrap(stripslashes($_GET[message]), 72, "\r\n");
// Message footer:
$message = $message . "\r\n\r\n" . "________________________________________________________________________";
$message = $message . "\r\n\r\n" . "Stone Quarry Records |
http://www.stonequarryrecords.org\r\n"; $message = $message . "\r\n" . "If you would like to be removed from this mailing list,";
$message = $message . "\r\n" . "send a reply to this message with 'remove' in the";
$message = $message . "\r\n" . "subject line of your email.";
$message = $message . "\r\n" . "________________________________________________________________________\r\n";
$sender = "Stone Quarry Records";
if ($subject == NULL) {
$subject = "Stone Quarry Records News";
}
////// This is the main array of email addresses on the mailing list. //////////
$addresses = array(
"Adam James Wilson <>",
"Stone Quarry Records Info <>",
"Jill Shanna <>"
);
$mail_sent = true;
function send_news() {
global $mail_sent;
global $sender;
global $subject;
global $addresses;
global $message;
foreach ($addresses as $address) {
if (mail($address, $subject, $message, "From: Stone Quarry Records <>\r\n") != true) {
$mail_sent = false;
}
}
}
send_news();
if ($mail_sent) {
echo "Messages successfully sent.";
} else {
echo "There was an error during message dispatch.";
}
?>
</B>
</TD>
</TR>
</TABLE>
</CENTER>
</BODY>
</HTML>