I am trying to create a script that emails about 10,000 different emails.........i want to email the same message to them all.......does anyone have any ideas on how i can do this?
my script is as follows.......... where it says to, I have all 10,000 email addresses and when i hit send it gives me an error.....
how ever when i send to only 1 or 2 different emails it works fine.........
<?php
// Contact subject
$subject = $_POST['subject'];
// Details
$message=$_POST['text'];
// Mail of sender
$mail_from=$_POST['email'];
// From
$header="from: <$mail_from>";
// Enter your email address
$to =$_POST['send_txt'];
$send_contact=mail($to,$subject,$message,$header);
// Check, if message sent to your email
// display message "We've recived your information"
if($send_contact){
echo "your message has been sent";
echo "
Your message was sent to:
$to";
}
else {
echo "ERROR, Please contact the Web Developer of this Website!";
}
?>