html表单点“提交”后发送到邮箱,该怎么做?以下是我的代码! 20
<formaction="mailto:agarise@163.com"method="post"name="form2"id="form2"><tablewidth="...
<form action="mailto:agarise@163.com" method="post" name="form2" id="form2">
<table width="472" align="left">
<tr>
<td width="80" nowrap="nowrap">主<span class="STYLE12"> </span>题:</td>
<td colspan="2"><label>
<input type="text" name="textfield" id="textfield" />
</label></td>
</tr>
<tr>
<td nowrap="nowrap">反馈内容:</td>
<td colspan="2"><label>
<textarea name="textarea" id="textarea" cols="45" rows="5"></textarea>
</label></td>
</tr>
<tr>
<td colspan="3" nowrap="nowrap"><div align="left" class="STYLE1">您的联系方式</div></td>
</tr>
<tr>
<td nowrap="nowrap">姓<span class="STYLE12"> </span>名:</td>
<td colspan="2"><label>
<input name="textfield2" type="text" id="textfield2" value="" />
</label></td>
</tr>
<tr>
<td nowrap="nowrap">地<span class="STYLE12"> </span>址:</td>
<td colspan="2"><input type="text" name="textfield3" id="textfield3" /></td>
</tr>
<tr>
<td nowrap="nowrap">电<span class="STYLE12"> </span>话:</td>
<td colspan="2"><input type="text" name="textfield4" id="textfield4" /></td>
</tr>
<tr>
<td nowrap="nowrap">公 司 名:</td>
<td colspan="2"><input type="text" name="textfield5" id="textfield5" /></td>
</tr>
<tr>
<td nowrap="nowrap">传<span class="STYLE12"> </span>真:</td>
<td colspan="2"><input type="text" name="textfield6" id="textfield6" /></td>
</tr>
<tr>
<td nowrap="nowrap">邮<span class="STYLE12"> </span>件:</td>
<td colspan="2"><input type="text" name="textfield7" id="textfield7" /></td>
</tr>
<tr>
<td height="21" nowrap="nowrap">主<span class="STYLE12"> </span>页:</td>
<td colspan="2"><input type="text" name="textfield8" id="textfield8" /></td>
</tr>
<tr>
<td height="2" nowrap="nowrap"><label>
<label></label></td>
<td width="277" height="2" nowrap="nowrap"> </td>
<td width="99" height="2"><div align="center">
<input type="submit" name="button" id="button" value="提交"onfocus=this.blur() />
<input type="reset" name="button2" id="button2" value="重置"onfocus=this.blur() />
</div></td>
</tr>
</table>
</form>
请问一楼,你的另一个做法改怎么提交表单到服务器呢,又怎么在email.asp中发邮件呢? 展开
<table width="472" align="left">
<tr>
<td width="80" nowrap="nowrap">主<span class="STYLE12"> </span>题:</td>
<td colspan="2"><label>
<input type="text" name="textfield" id="textfield" />
</label></td>
</tr>
<tr>
<td nowrap="nowrap">反馈内容:</td>
<td colspan="2"><label>
<textarea name="textarea" id="textarea" cols="45" rows="5"></textarea>
</label></td>
</tr>
<tr>
<td colspan="3" nowrap="nowrap"><div align="left" class="STYLE1">您的联系方式</div></td>
</tr>
<tr>
<td nowrap="nowrap">姓<span class="STYLE12"> </span>名:</td>
<td colspan="2"><label>
<input name="textfield2" type="text" id="textfield2" value="" />
</label></td>
</tr>
<tr>
<td nowrap="nowrap">地<span class="STYLE12"> </span>址:</td>
<td colspan="2"><input type="text" name="textfield3" id="textfield3" /></td>
</tr>
<tr>
<td nowrap="nowrap">电<span class="STYLE12"> </span>话:</td>
<td colspan="2"><input type="text" name="textfield4" id="textfield4" /></td>
</tr>
<tr>
<td nowrap="nowrap">公 司 名:</td>
<td colspan="2"><input type="text" name="textfield5" id="textfield5" /></td>
</tr>
<tr>
<td nowrap="nowrap">传<span class="STYLE12"> </span>真:</td>
<td colspan="2"><input type="text" name="textfield6" id="textfield6" /></td>
</tr>
<tr>
<td nowrap="nowrap">邮<span class="STYLE12"> </span>件:</td>
<td colspan="2"><input type="text" name="textfield7" id="textfield7" /></td>
</tr>
<tr>
<td height="21" nowrap="nowrap">主<span class="STYLE12"> </span>页:</td>
<td colspan="2"><input type="text" name="textfield8" id="textfield8" /></td>
</tr>
<tr>
<td height="2" nowrap="nowrap"><label>
<label></label></td>
<td width="277" height="2" nowrap="nowrap"> </td>
<td width="99" height="2"><div align="center">
<input type="submit" name="button" id="button" value="提交"onfocus=this.blur() />
<input type="reset" name="button2" id="button2" value="重置"onfocus=this.blur() />
</div></td>
</tr>
</table>
</form>
请问一楼,你的另一个做法改怎么提交表单到服务器呢,又怎么在email.asp中发邮件呢? 展开
1个回答
推荐律师服务:
若未解决您的问题,请您详细描述您的问题,通过百度律临进行免费专业咨询