邮件发送简单例子-html文件
程序员文章站
2024-03-31 12:46:04
<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>
<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>
上一篇: MySQL安全输入密码的一些操作介绍
下一篇: 浅析JVM逃逸的原理及分析