从表单发送电子邮件
- <html>
- <body>
- <form action="MAILTO:someone@yousite.com" method="post" enctype="text/plain">
- <h3>这个表单会把电子邮件发送到 yousite。</h3>
- 姓名:<br />
- <input type="text" name="name" value="yourname" size="20">
- <br />
- 电邮:<br />
- <input type="text" name="mail" value="yourmail" size="20">
- <br />
- 内容:<br />
- <input type="text" name="comment" value="yourcomment" size="40">
- <br /><br />
- <input type="submit" value="发送">
- <input type="reset" value="重置">
- </form>
- </body>
- </html>