欢迎您访问程序员文章站本站旨在为大家提供分享程序员计算机编程知识!
您现在的位置是: 首页  >  IT编程

邮件发送简单例子-html文件

程序员文章站 2024-03-31 12:46:04
javamail form
<html>
<head>
<title>javamail form</title>
</head>

<body>
<form action="/purejsp/mailexample.jsp" method="post">
<table cellspacing="2" cellpadding="2" border="1">
<tr>
<td>to:</td>
<td>
<input type="text" name="to" size="30" maxlength="30">
</td>
</tr>
<tr>
<td>from:</td>
<td>
<input type="text" name="from" size="30" maxlength="30">
</td>
</tr>
<tr>
<td>subject</td>
<td>
<input type="text" name="subject" size="30" maxlength="30">
</td>
</tr>
<tr>
<td colspan="2">
<textarea cols="40" rows="10" name="body"></textarea>
</td>
</tr>
<tr>
<td>
<input type="submit" name="submit" value="submit">
<input type="reset">
</td>
</tr>
</table>
</form>
</body>
</html>