html5 表单发送邮件
![html5表单发送邮件](https://static001.geekbang.org/infoq/32/325007bcab9929c3c126274eba8e598c.jpeg)
<!DOCTYPE html><html><head><meta charset="utf-8"><title>教程</title></head><body><h3>发送邮件到 someone@example.com:</h3><form action="MAILTO:fu.wang@concentrix.com" method="post" enctype="text/plain">Name:<br><input type="text" name="name" value="your name"><br>E-mail:<br><input type="text" name="mail" value="your email"><br>Comment:<br><input type="text" name="comment" value="your comment" size="50"><br><br><input type="submit" value="发送"><input type="reset" value="重置"></form></body></html>
评论