easy mail php project
DESCRIPTION
Easy Mail Php ProjectTRANSCRIPT
-
EEEzy Feedback Form V 1.2
-
}
if ($send !="no") {
$msg = "email sent from mywebsite.com\n";
$msg .="Name: $_POST[name]\n";
$msg .="Email: $_POST[email]\n";
$msg .="Comments: $_POST[comments]\n";
$to = "[email protected]";
$subject = "Feedback Form";
$mailheaders = "From: My Website \n";
$mailheaders .= "Reply-To: $_POST[email]\n";
mail ($to, $subject, $msg, $mailheaders);
echo "Mail has been sent!";
} else if ($send == "no") {
echo "$name_err";
echo "$email_err";
echo "$message_err";
echo "$form_block";
}
}
?>