Forums
This topic is locked
Automatic emailing from a form
Posted 27 Oct 2006 15:47:28
1
has voted
27 Oct 2006 15:47:28 Ronan Cullen posted:
Hi,Please help - I'm new at this so go easy!
I've created a "Post a comment" field in my new website. I want all comments to be emailed to me. How can I do this?
What do i need to add to the code to make it auto email to me?
The code for the form is :
<form action=MAILTO:" " method="post" encrype="text/plain">
<span class="style8">Name <span class="style13">......</span>: </span>
<input type="text" name="name">
<br><br>
<span class="style8">Sex<span class="style13">...........</span>:</span>
<input type="radio" name="sex" value="male">
<span class="style8"> Male
<input type="radio" name="sex" value="female">
Female</span><br>
<br>
<span class="style8">Age<span class="style13">.........</span>:</span>
<select Age="age" name ="Age">
<option value="under18">Under 18</option>
<option value="19to24">19 to 24</option>
<option value="25to34">25 to 34</option>
<option value="35andover">35 and Over</option>
</select>
<br><br>
<span class="style8">Comments :</span>
<input type="text" name="comment" value="Enter your comment here" size="60">
<br><br>
<input type="submit" value="Send">
<input type="reset" value="Reset">
<div id="Layer22">
<object classid="clsid27CDB6E-AE6D-11cf-96B8-444553540000" codebase="download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=5,0,0,0" width="100" height="23">
<param name="movie" value="button20.swf" />
<param name="quality" value="high" />
<embed src="button20.swf" quality="high" pluginspage="www.macromedia.com/shockwave/download/index.cgi?P1_Prod_Version=ShockwaveFlash" type="application/x-shockwave-flash" width="100" height="23" ></embed>
</object>
</div>
</form>
Replies
Replied 27 Oct 2006 16:57:22
27 Oct 2006 16:57:22 Roddy Dairion replied:
you have to use a serverside script like php or asp.