把表单内容提交到邮箱

时间:2022-05-16 20:14:53
< style >
input 
{ background-color : '99ffff' ; color : "red" }
textarea 
{ background-color : '99ffff' ; color : "red" }
</ style >
< body  bgcolor ="99ffff" >
< form  method ="post"  enctype ="text/plain"  action ="mailto:yzhang0207@126.com?subject=hello" >
< table >
< caption > 读者回函 </ caption >
< tr >< td > 姓  名: < td >< input  type ="text"  name ="username" >
< tr >< td > 电子邮件: < td >< input  type ="text"  name ="email" >
< tr >< td  valign ="top" > 内  容: < td >< textarea  name ="msg"  rows ="2"  cols ="30" > 你好!!! </ textarea >
< tr >< td  colspan ="2"  align ="center" >< input  type ="submit"  value ="填好了" >
</ table >
</ form >
</ body >

subject:邮件主题