Lid |
|
doe het met php...
<?php
if($_POST['submit']){
$to = $_POST['to'];
$subject = $_POST['subject'];
$naam = $_POST['name'];
$boodschap = $naam." Stuurt: ".$_POST['bericht'];
mail($to,$subject,$boodschap,"from: ".$email);
}else{
<?php if($_POST['submit']){ $to = $_POST['to']; $subject = $_POST['subject']; $naam = $_POST['name']; $boodschap = $naam." Stuurt: ".$_POST['bericht']; mail($to,$subject,$boodschap,"from: ".$email); }else{
<form action="" method="post">
Uw naam:<input type="text" name="name"><br>
Uw E-mailadres:<input type="text" name="mail"><br>
Onderwerp:<input type="text" name="subject"><br>
bericht:<textarea cols="30" rows="4" id="text" onClick="document.getElementById('text').value=''">Typ uw bericht hier.</textarea><br>
<input type="reset" value="wissen"><input type="submit" name="submit" value="verzenden"><br>
<form action="" method="post"> Uw naam: <input type="text" name="name"><br>Uw E-mailadres: <input type="text" name="mail"><br>Onderwerp: <input type="text" name="subject"><br>bericht: <textarea cols="30" rows="4" id="text" onClick="document.getElementById('text').value=''">Typ uw bericht hier. </textarea><br><input type="reset" value="wissen"><input type="submit" name="submit" value="verzenden"><br>
extra inputs enzo en andere dingen zoals de layout ervan kunt u zelf aanpassen. |