\n"; $headers .= "To: ".$to."\n"; // $headers .= "Bcc: denversdesk@gmail.com, \n"; $headers .= "Reply-To: ".$_POST['Name']." <".$_POST['Email'].">\n"; $headers .= "Content-type: text/html; charset=iso-8859-1\r\n"; $combo = "

".$subject."




"; $combo .= "

Details:

"; $combo .= ""; foreach ($_POST as $key => $value) { if($key !== "g-recaptcha-response") { $combo .= ""; $combo .= ""; } } $combo .= "
".ucwords(str_replace("_"," ",htmlspecialchars($key)))."".htmlspecialchars($value)."
"; $body = str_replace("\n","
",$combo); if(mail($to,$subject,$body,$headers)) { $msg = "Unknown error occured."; } else { $msg = "Message has successfully been sent."; } } ?> Smart Kidz Nursery

Contact

53 Acacia East Street, Noordwyk, Midrand
+27 61 816 4293 / +27 11 071 6897
admin@smartkidznursery.co.za
www.smartkidznursery.co.za