Click to See Complete Forum and Search --> : [RESOLVED] PLS. help with email form


WebArt
11-21-2006, 04:33 PM
Hi everybody, can somebody please help me with my email form.
What I looking for is - If someone fill out my contact form on my website and press the submit button, and when I received the email in my inbox, the "Subject" line is - Form posted from Microsoft Internet Explorer -
How can I make this subject line to read eg. This is a email from your website or something like that.
Here is my code if someone can help, thanks.

<form action="mailto:info@webartdesign.co.za" method="post" enctype="text/plain"><table align="center" cellspacing="0" cellpadding="0" border="0">
<tr>
<td align="center"><b><i>Name / Naam :</i></b></td>
<td align="center"><input type="text" name="title" maxlength="30" size="30"></td>
</tr>
<tr>
<td align="center"><b><i>Surname / Van :</i></b></td>
<td align="center"><input type="text" name="title" maxlength="30" size="30"></td>
</tr>
<tr>
<td align="center"><b><i>Address / Adres :</i></b></td>
<td align="center"><textarea cols=23 rows=5 name="Inligting"></textarea></td>
</tr>
<tr>
<td align="center"><b><i>Phone / Tel :</i></b></td>
<td align="center"><input type="text" name="title" maxlength="30" size="30"></td>
</tr>
<tr>
<td align="center"><b><i>Fax / Faks :</i></b></td>
<td align="center"><input type="text" name="title" maxlength="30" size="30"></td>
</tr>
<tr>
<td align="center"><b><i>Cell / Sel :</i></b></td>
<td align="center"><input type="text" name="title" maxlength="30" size="30"></td>
</tr>
<tr>
<td align="center"><b><i>E-mail / E-pos :</i></b></td>
<td align="center"><input type="text" name="title" maxlength="50" size="30"></td>
</tr>
<tr>
<td align="center"><b><i>Any other information,<br>enquiry or request:<p>Enige ander inligting,<br>navraag of versoek:</i></b></td>
<td align="center"><textarea cols=23 rows=5 name="Inligting"></textarea></td>
</tr>
<tr>
<td align="center" colspan="5"><hr align="left" width="400" size="1" color="#330099"></td>
</tr>
<tr>
<td align="center" colspan="5"><b><i>Thank you for your information / Dankie vir u inligting</i></b><br><hr align="left" width="400" size="1" color="#330099"></td>
</tr>
<tr>
<td colspan="5" align="center"><input type="submit" name="Submit" value="Submit" style="font-family:verdana;color:lime;background-color:#330099;font-size:11px;">
&nbsp;&nbsp;&nbsp;<input type="Reset" style="font-family:verdana;color:red;background-color:#330099;font-size:11px;"><br><hr align="left" width="400" size="1" color="#330099"></td>
</tr>
</table>
<br></form>

benpowell
11-22-2006, 05:54 AM
If your host supports CGI or other server-side scripting such as PHP I'd highly recommend finding a compatible email script as the method you are curently using is not always reliable. An added benefit of using a server-side script is that you'll be able to hide your email address from spambots. If this option isn't available to you then change

mailto:info@webartdesign.co.za

to

mailto:info@webartdesign.co.za?subject=Text to be displayed in subject field