Ugh... Long day Need a second pair of eyes...
Posting code below. If someone can point out the idiotic mistake I have somehow overlooked it would be greatly appreciated...
Thanks
Jay
$headers = "From: ". strip_tags($_POST['yourname']) . "<" . strip_tags($_POST['youremail']) . ">\r\n";
$headers .= "Reply-To: ". strip_tags($_POST['youremail']) . "\r\n";
$headers .= "MIME-Version: 1.0\r\n";
$headers .= "Content-Type: text/html; charset=ISO-8859-1\r\n";
for($i = 0; $i<=5; $i++){
$to = $_POST['email[$i]'];
$subject=$_POST['friend[$i]']." Check out how I can make a...";
$msg = "<HTML><BODY><H1 align=center>site in less than 3 minutes flat!</H1><p aligh=center>".$_POST['friend[$i]']."This is ".$_POST['yourname'].". I have just finished setting up my affiliate site in less than 3 minutes!<br />Check out this vid I found on youtube!</p><br /><p align=center><a href='http://www.youtube.com/watch?v=O9PWXn-Zi8o' target='_blank'>How I got my copy of this insane lead generating and cash pulling machine!</a></p><p align=center>Thanks for taking a few minutes to check out this video! Go grab it now!</p></BODY></HTML>";
$sendme = mail($to,$subject,$msg,$headers);
echo $sendme ? "Your friends will be receiving a message from you shortly." : "Sorry something went wrong when the email(s) went out. Please try again later.";
}
Do you want to make successes or excuses? Success? Alright then... See what's in store for you....
- The AC Assassin