contact php help please?

Hans

New member
I'm have trouble finding the sender email address I see the client subject and the message but no email to reply to all I get is the address of my host provider it's host gator here to code this problem is costing me business because I can't reply back thank you

<?php
$subject = $_POST['subject']; // Subject of your email
$to='[email protected]'; //Recipient Email
$mailFrom = $_POST['emailFrom'];
$headers = 'MIME-Version: 1.0' . "\r\n";
$headers .= 'Content-type: text/html; charset=iso-8859-1' . "\r\n";
$message = $_POST['message'];
mail($to, $subject, $message, $headers);
header ("Location:index.html");
exit;
?>
 
Back
Top