 |
|
|
|
Contact Us
|
|
|
|
Use the form below to contact us.
";
$subject = "Podillow web form submission";
$message = "";
foreach ( $_POST as $key => $value ) {
$message .= " " . str_replace("_"," ",$key) . ": " . $value . " \n";
}
// header
$headers = 'MIME-Version: 1.0' . "\r\n";
$headers .= 'Content-type: text/html; charset=iso-8859-1' . "\r\n";
$headers .= 'From: ' . $_POST['Name'] . " <" . $_POST['E-mail_Address'] . ">\r\n";
$headers .= 'Reply-To: ' . $_POST['Name'] . " <" . $_POST['E-mail_Address'] . ">\r\n";
mail ($to, $subject, $message, $headers);
echo '
Your message has been sent
';
}
?>
|
|
|
|
|
| |
|
|
|
|
|
|
 |
|
 |