F
Fagex_SantaClaus
Guest
create a .php file with this code and your modifications.
call it email.php for example:
this is the form. you should paste this code in the place you wish over your page.
It does not give the email address of the sender.
call it email.php for example:
PHP:
<?php
if (($name) && ($mail) && ($subject) && ($message) && ($submit)) {
$youremail = "[email protected]";
mail($youremail,$subject,$message,"From: $mailrnReply-To: $mailrn");
echo "E-Mail was sent correctly
";
}
?>
this is the form. you should paste this code in the place you wish over your page.
PHP:
<form method="post"
action="email.php"><br>
<input type="text" name="NAME"
value="Your name"><br><br>
<input type="text" name="EMAIL"
value="Your e-mail"><br><br>
<input type="text" name="SUBJECT"
value="The subject"><br><br>
<input type="text" name="MESSAGE"
value="Message"><br><br>
<input type="submit" value="Send"
name="submit" style="font-family: Trebuchet MS"><br>
</form>
It does not give the email address of the sender.

