Here is the HTML from the page with the form on it, which sends the data to the above PHP handler...
<form action="/contact/confirm.php4" method="POST" >
<div align="center">
<div align="center">
<input type="hidden" name="recipient">
<input type="hidden"
name="subject" value="Web Enquiry">
<input type="hidden" name="redirect"
value="a web address of your choice">
</div>
</div>
<div align="center">
<table width="48%" border="0" cellspacing="5" cellpadding="5" class="FormCSS" align="center" height="88">
<tr>
<td width="33%">
<div align="left"><font color="#EABB00"><b><font size="3" face="Times New Roman, Times, serif">Name:</font></b></font></div>
</td>
<td width="67%">
<input type="text" size="50"
maxlength="50" name="realname">
</td>
</tr>
<tr>
<td width="33%">
<div align="left"><font color="#EABB00">Email:</font></div>
</td>
<td width="67%">
<input type="text" size="50" maxlength="50" name="email">
</td>
</tr>
<tr>
<td width="33%" height="106"><font color="#EABB00">Type of enquiry:<br>
(e.g. repairs, faultfinding etc.)</font></td>
<td width="67%" height="106">
<textarea
name="text" rows="5" cols="50"></textarea>
</td>
</tr>
<tr>
<td colspan="2" height="2">
<div align="center"> <font color="#EABB00">
<input type="submit" name="send form" value="Submit Enquiry">
<input
type="reset" name="clear form" value="Reset Form">
</font></div>
</td>
</tr>
</table>
</div>
<div align="center">
<div align="right">
<div align="left"></div>
</div>
</div>
</form>