<%--
 Copyright 2004-2005 Sun Microsystems, Inc.  All rights reserved.
 Use is subject to license terms.
--%>

<%@ taglib prefix="fmt" uri="http://java.sun.com/jstl/fmt" %>
<fmt:setBundle basename="LocalStrings"/>

<html>
<head>
<title><fmt:message key="sendmail.jsp.title"/></title>
</head>
<body bgcolor="white">

<p><fmt:message key="sendmail.jsp.overview"/></p>
<ul>
<li><fmt:message key="sendmail.jsp.defaultconfig"/></li>
<li><fmt:message key="sendmail.jsp.applicationlogic"/></li>
<li><fmt:message key="sendmail.jsp.allfields"/></li>
</ul>

<form method="POST" action="../../SendMailServlet">
<table>

  <tr>
    <th align="center" colspan="2">
      <fmt:message key="sendmail.jsp.entermessage"/>
    </th>
  </tr>

  <tr>
    <th align="right"><fmt:message key="sendmail.jsp.from"/></th>
    <td align="left">
      <input type="text" name="mailfrom" size="60">
    </td>
  </tr>

  <tr>
    <th align="right"><fmt:message key="sendmail.jsp.to"/></th>
    <td align="left">
      <input type="text" name="mailto" size="60">
    </td>
  </tr>

  <tr>
    <th align="right"><fmt:message key="sendmail.jsp.subject"/></th>
    <th align="right">Subject:</th>
    <td align="left">
      <input type="text" name="mailsubject" size="60">
    </td>
  </tr>

  <tr>
    <td colspan="2">
      <textarea name="mailcontent" rows="10" cols="80">
      </textarea>
    </td> 
  </tr>

  <tr>
    <td align="right">
      <input type="submit" value="<fmt:message key="sendmail.jsp.sendbutton"/>">
    </td>
    <td align="left">
      <input type="reset" value="<fmt:message key="sendmail.jsp.resetbutton"/>">
    </td>
  </tr>

</table>
</form>

</body>
</html>