如何将表单提交到指定的邮箱中(不是OUTLOOK).望给源码.
发布网友
发布时间:2022-05-01 11:23
我来回答
共1个回答
热心网友
时间:2023-10-09 19:33
<form action="mailto:charis.zhou@163.com" encType="text/plain" method=post>
<table width="100%" border="0" cellspacing="0" cellpadding="0">
<tr>
<td><table width="100%" border="0" cellpadding="0" cellspacing="1" bgcolor="#CCCCCC">
<tr bgcolor="#ffffff">
<td height="20">户 籍</td>
<td height="20"><input type="text" name="vcha_hukouaddress" value="" style="width:150px" maxlength="500"></td>
<td height="20">手机号码</td>
<td height="20"><input type="text" name="vcha_movetel" value="" style="width:100px" maxlength="250"></td>
<td height="20">宅 电</td>
<td height="20"><input type="text" name="vcha_tel" value="" style="width:100px" maxlength="50"></td>
</tr>
<tr bgcolor="#ffffff">
<td height="20">现住地址</td>
<td height="20"><input type="text" name="vcha_zhuadd" value="" style="width:250px" maxlength="500"></td>
<td height="20">E_Mail</td>
<td height="20"><input type="text" name="vcha_email" value="" style="width:150px" maxlength="250"></td>
<td height="20">上传照片</td>
<td height="20"><input type="text" name="upfilepath" maxlength="39" style="width:100px" value="">
<input type="button" name="mybutton" value="选择" onClick="fileupload()"></td>
</tr>
</table></td>
</tr>
<tr>
<td></td>
</tr>
<tr>
<td> </td>
</tr>
<tr>
<td><table width="100%" border="0" cellpadding="0" cellspacing="1" bgcolor="#CCCCCC">
<tr bgcolor="#ffffff">
<td align="center"><input type="submit" onClick="SendMail()" value="提交">
<input type="button" value="关闭" onClick="window.close();">
</td>
</tr>
</table></td>
</tr>
</table>
</form>