$email_from = 'web@genesiscarriers.com';
$email_subject = "Contact/Job Request";
$email_body = "";
foreach($_POST as $name => $value) {
$email_body .= "$name : $value ";
}
//$to = "[email protected]";
$to = "[email protected]";
$headers = "From: $email_from\n";
$headers .= "Content-Type: text/html; charset=iso-8859-1";
if ($email_body <> "")
{
mail($to,$email_subject,$email_body, $headers);
}
?>
Thank you. Someone will contact you soon.
|