Forum Moderators: open

Message Too Old, No Replies

Form question

Received a blank email from a form

         

Blue_Tetra

3:19 pm on May 21, 2002 (gmt 0)

10+ Year Member



Hello all,

I tried to make a form and the content of the form (someone fill out the form) is supposed to be submitted to my email address. But I could not make it happened. The email address: "mailto" works, but there is nothing I received (the content).

<FORM NAME="Purch" ACTION="mailto:xxxxxx@yahoo.com" METHOD="POST">

Thank you.

Blue

lorax

3:23 pm on May 21, 2002 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member Top Contributors Of The Month



I think you may need to define the entype as "text/plain" in order for it to work.

Nick_W

3:29 pm on May 21, 2002 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



Quite possibly. If that doesn't work let's have a look at the whole form?

Nick

bruhaha

3:33 pm on May 21, 2002 (gmt 0)

10+ Year Member



That's "enctype"...

But it doesn't always work. If you use this method, older browsers and AOL will typically send you an email with a subject line but no content (in the body).

So, if adding the enctype attribute doesn't solve your problem, the next thing you may want to do is test the form with different browsers (have friends help)and see if some of them do send the content.

Blue_Tetra

3:55 pm on May 21, 2002 (gmt 0)

10+ Year Member



Here is the form:

<form name="xxxxx" action="mailto:you@yahoo.com" method=
"POST">
<table width="292" border="0" cellpadding="4" cellspacing=
"0">
<col width="57">
<col width="83">
<col width="45">
<col width="75">
<thead>
<tr valign="TOP">
<td width="57">
<p style="margin-top: 0.08in">
<font face="Times New Roman, serif"><font size=
"3">First:</font></font>
</p>
</td>
<td width="83">
<p style="margin-top: 0.08in">
<font face="Times New Roman, serif"><font size=
"3"><input type="TEXT" name="TextField1" size="9"
maxlength="10"></font></font>
</p>
</td>
<td width="45">
<p align="RIGHT" style="margin-top: 0.08in">
<font face="Times New Roman, serif"><font size=
"3">Last:</font></font>
</p>
</td>
<td width="75">
<p style="margin-top: 0.08in">
<font face="Times New Roman, serif"><font size=
"3"><input type="TEXT" name="TextField2" size=
"7"></font></font>
</p>
</td>
</tr>
</thead>
<tbody>
<tr valign="TOP">
<td width="57">
<div align="RIGHT">
<p style="margin-top: 0.08in">
<font face="Times New Roman, serif"><font size=
"3"><input type="SUBMIT" name="Submit" value=
"Submit"></font></font>
</p>
</div>
</td>
<td colspan="3" width="219">
<p style="margin-top: 0.08in">
<font face="Times New Roman, serif"><font size=
"3"><input type="RESET" name="Reset" value=
"Reset"></font></font>
</p>
</td>
</tr>
</tbody>
</table>
</form>

Thanks!!