\n"; $message .= "Name$contact_name\n"; $message .= "E-mail$contact_email\n"; $message .= "Tel$contact_tel\n"; $message .= "Message$contact_desc\n"; $message .= "\n\n\n"; $subject =" $contact_name contacts you from Racer Electric website"; $from = "website@racer"; $headers = "From: $from\nContent-type:text/html; charset=UTF8\n"; mail($to, $subject, $message, $headers); $var[body] = "Thank you. Your message has been sent successfully."; $file = "contact.html"; } $var[top_banner] = top_banner(); parse_file($file,$var); ?>