<form action="index.php?page=mailformsend" method="post">
<table width="335" border="0" align="center" cellpadding="0" cellspacing="5">
<tr>
<td valign="bottom"><div class="menu">Firma <span id="onder">* </span>:</div></td>
<td><input name="firma" type="text" size="25" height="12"></td>
</tr>
<tr>
<td valign="bottom"><div class="menu">Naam <span id="onder">* </span>:</div></td>
<td><input name="naam" type="text" size="25" height="12"></td>
</tr>
<tr>
<td height="35" valign="bottom"><div class="algemeen">Telefoon :</div></td>
<td valign="bottom"><input name="telefoon" type="text" size="25" height="12"></td>
</tr>
<tr>
<td width="25%"><div class="menu">Fax :</div></td>
<td><input name="fax" type="text" size="25" height="12">
</td>
</tr>
<tr>
<td width="25%"><div class="menu">E-mail <span id="onder">* </span>:</div></td>
<td><input name="email" type="text" size="25" height="12">
</td>
</tr>
<tr>
<td width="25%" height="35" valign="bottom"><div class="menu">Onderwerp:</div></td>
<td colspan="2" valign="bottom"><select name="onderwerp" size="1" class="stijl2" type="text" height="12">
<option value="" selected>Maak een keuze </option>
<option value="Prijsofferte">Prijsofferte</option>
<option value="Advies">Advies</option>
</select>
</td>
</tr>
<tr>
<td width="25%" height="100"><div class="menu">Bericht <span id="onder">* </span>:</div></td>
<td colspan="2"><textarea name="bericht" cols="35" rows="7" wrap="VIRTUAL" ></textarea>
</td>
</tr>
<tr>
<td></td>
<td colspan="2"><div align="left">
<input name="Submit" type="submit" class="stijl2" value="zend" height="12">
<input name="Reset" type="reset" class="stijl2" value="reset" height="12">
</div></td>
</tr>
</table>
</form>
mailformsend.php
<?
$mail = "info@fcfortuna.be"; //Your Email (DONT FORGET)
$unaam = "Ronny"; //Your name
$subject="e-mail via www.plm.be";
mail("$mail", "$subject", " Beste $unaam
E-mail binnen via www.plm.be
----------------------------------------------------------------------------------------->
Naam van de firma: $firma
Naam van de contactpersoon: $naam
E-mail van de contactpersoon: $email
Telefoonnummer van de contactpersoon: $telefoon
Faxnummer van de contactpersoon: $fax
Onderwerp: $onderwerp
Bericht: $bericht
Met vriendelijke groeten $naam", "From: $naam<$email>\nReturn-path: $email");
echo "<span id=\"onder\">Je bericht zal zo spoedig mogelijk verwerkt worden<br></span>"; echo "<span id=\"onder\">Wij zullen u binnenkort een antwoord sturen<br></span>"; echo "<span id=\"onder\">Met vriendelijke groeten<br></span>"; echo "<a href=\"javascript:history.back(-1)\" class=\"menu\">Klik hier om terug te gaan naar het contactformulier</a><br>";
?>