HTML Email comment issue! PLEASE HELP!!!?

Andrew

New member
I've just written a load of HTML code so people can comment on my website. it works fine but when you press submit to send it to the email address, it opens my email box and inserts it into a New Email. and then when the email is delivered, it looks looks this: Email+Address=smithandrew1993%40yahoo.com&Name=Andrew+Smith&continent=female&comment=Test+from+Website%21%21%21+%3A%29

This is the code that i write:
<form name="feedback" method="post" action="mailto:[email protected]">
<fieldset>?<legend><b>Personal Information</b></legend>?Email Address <input type="text" name="Email Address" size="40">
Name <input type="text" name="Name" size="40">
Gender <select name="continent" size="1">? <option value="male">Female</option>
<option value="female">Male</option>
</select>
</fieldset>
<fieldset>?<legend><b>Message</b></legend>

Message <textarea cols="50" rows="4" name="comment"></textarea>
</fieldset>

<input type="submit" value="Submit">

<input type="reset">
</form>


Please Help me out :)
Andrew Smith
it does say googlemail.com its just that yahoo cuts it off for security reasons
 
LOL - When you do a form Submit - the Browser URI Encodes the Data so it transmits safely. (encodeURI is a javascript equiv) On the Server Side - this posted data is usually run through a function that does the opposite... like decodeURI or uriDecode The %40 is your "AT" sign converted...

I recommend using another technique... You got PHP? If so you can make a nice form, then when they post... on the PHP side - your data will already be "decoded" and you can then use the sendmail feature in PHP to post the email directly to your email address.
 
Back
Top