"" || "-1"){ $ezine = "http://www.productezine.com/testserver/ACAFresh/template/" . $templatedir . ".php?id=" . $zine_id; $the_ezine = file_get_contents($ezine); } if ($errors == 0) { // If everything's OK. for($i=1; $i<=$count; $i++){ if($i == 1){ $name = $name_1; $email = $email_1; } if($i == 2){ $name = $name_2; $email = $email_2; } if($i == 3){ $name = $name_3; $email = $email_3; } if($i == 4){ $name = $name_4; $email = $email_4; } $name = clean_input_4email($name); $email = clean_input_4email($email); $thesubject = "ACA Newsletter - sent by " . $senders_name . "[" . $senders_email . "]"; $themessage = "
Dear " . $name . ", Your friend " . $senders_name . "[" . $senders_email . "] has sent you this ACA Newsletter.

"; $themessage .= "$the_ezine"; // To send HTML mail, the Content-type header must be set $headers = 'MIME-Version: 1.0' . "\r\n"; $headers .= 'Content-type: text/html; charset=iso-8859-1' . "\r\n"; $headers .= "From: " . $senders_email . "\nReply-To: " .$senders_email . "\r\n"; //send the email mail("$email", "$thesubject", "$themessage", "$headers"); } } $emails_sent = "yes"; } ?> Australian Counselling Association

Forward this issue to a friend

Personal Details

 
 

Your Friend's, Colleague's & Associates's Details