首页 > 编程 > JSP > 正文

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

2020-07-27 21:55:20
字体:
来源:转载
供稿:网友
<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>

发表评论 共有条评论
用户名: 密码:
验证码: 匿名发表