sorry, got it working, but it sends 3 emails now and the the 3rd is the one that is the one i want to send to everyone. Why is it sending them 3 times? The code i am using is:-
<?
$count = "0";
$name = 'Free Mobile Phone Stuff!';
$email = 'julian@chamberlain.com';
$subject = 'Ringtones, Screensavers, Picture messages, Voicemail, logos and lots more! ';
$body = 'Visit the nets most comprehensive resource for mobiles! http://www.anthemtones.com ';
$email_list = file ('email.txt');
foreach ($email_list as $value)
{
$mail = mail (
$value,
$subject,
$body,
"From: The RingTone company!"
);
echo "Message sent to $value";
echo "$count";
$count++;
if (!$mail) {echo 'could not send mail';}
}
?>
Cheers mate.
Jules