HTML Email Form problems

FrequencyX

Senior member
Oct 22, 2004
327
0
0
I spent some time and created a submission form that sends via email. The problem is when I submit with all the information supplied or checked. The email comes blank with nothing there. I am creating a simple website for my wife that specializes in custom bouquets and what not.

Here is the code below

<form action="mailto:mail@mail.com?subject=Custom Order " method="post" enctype="text/plain" onsubmit="location.href='confirmation.htm'();">
<table><tr><td>
<INPUT TYPE="text" VALUE="Select Size of Bouquet" SIZE=30><BR>
<INPUT TYPE="checkbox" VALUE="Small">Small<BR>
<INPUT TYPE="checkbox" VALUE="Medium">Medium<BR>
<INPUT TYPE="checkbox" VALUE="Large">Large<BR>
<INPUT TYPE="text" VALUE="Please Select Color " SIZE=30><BR>
<INPUT TYPE="checkbox" VALUE="Red">Red<BR>
<INPUT TYPE="checkbox" VALUE="Blue">Blue<BR>
<INPUT TYPE="checkbox" VALUE="Green">Green<BR>
<INPUT TYPE="checkbox" VALUE="Lavender">Lavender<BR>
<INPUT TYPE="checkbox" VALUE="Pink">Pink<BR>
<INPUT TYPE="checkbox" VALUE="Purple">Purple<BR>
<INPUT TYPE="checkbox" VALUE="White">White<BR>
<INPUT TYPE="text" VALUE="Include Boutonniere or Corsage in selected Color?" SIZE=50><BR>
<INPUT TYPE="checkbox" VALUE="Boutonniere">Boutonniere<BR>
<INPUT TYPE="checkbox" VALUE="Corsage">Corsage<BR>
<INPUT TYPE="text" VALUE="Include Pillow?" SIZE=50><BR>
<INPUT TYPE="checkbox" VALUE="Basic Pillow">Basic Pillow<BR>
<INPUT TYPE="checkbox" VALUE="Customized Pillow with Colors">Customized Pillow with Colors<BR>
<INPUT TYPE="text" VALUE="Below indicate Quantity of Corsages or Boutonniere's if selected,and also any other additional information" SIZE=102><BR>
<TEXTAREA ROWS=15 COLS=45></TEXTAREA><BR>
<INPUT TYPE="submit" value="Submit For Quote">
<INPUT TYPE="reset" VALUE="Reset Fields"></DIV>
</td></tr></table>
</FORM>

If somebody could help me out, it would be greatly appreciated.
**And hopefully this is the right forum :eek:**
Thanks
 

Cheetah8799

Diamond Member
Apr 12, 2001
4,508
0
76
using a mailto: option like that usually requires that the user's browser is configured to use their personal email client properly, and that the client software fills in properly with the data. If it actually does open the client email, the user still has to click the send button. You can never count on it working for everyone. I've honestly never seen anyone even use the mailto: option in a form action. I've only seen clickable links that are meant to open the email client window and autofill with a subject and to field.

The proper way to do this would be to have it submit to some sort of Perl, PHP, or other server-side script that parses the form values and sends the email from the server.