Web Hosting Talk







View Full Version : Basic email form


rahan46
04-11-2005, 03:38 AM
I'm trying to make a submit form on my page where when a user enters a name and email and hit submit it will automatically e-mail the persons address to a certain email addy. This is what I have so far, it looks fine just doesn't work correctly.

<form action="mailto:email@goeshere.com" method="post" enctype="multipart/form-data" name="EmailTestForm">

<p>Name:<br>
<input size="12" name="VisitorName" type="text">
<br>
<br>
E-Mail:<br>
<input size="12" name="VisitorEmail" type="text">
<br>
<br>
<input name="" value="Submit" type="submit">
</p>
</form>

UrlGuy
04-11-2005, 04:21 AM
You should check this: http://www.freewebmasterhelp.com/tutorials/php/6

You may also find part 5 interesting.

Hope it helps:)