
<%--
   Copyright (c) 2018, Oracle and/or its affiliates. All rights reserved.
--%>
<%@page contentType="text/html" pageEncoding="UTF-8"%>
<!DOCTYPE html>
<html>
    <head>
        <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
        <title>Oracle Sample Mail Application</title>
        <link rel="stylesheet" href="mystyles.css">
        <style type="text/css">
        form {align:center;}
        body {
        	background-color: #ADD8E6;
	}

        h1 {
            color: #ffffff;
            text-align: center;
        }

        p {
            font-family: "Times New Roman";
            font-size: 20px;
        }
        .center {
            margin-left: auto;
            margin-right: auto;
            width: 70%;
            background-color: #FFFFFF;

        </style>
    </head>
    <body>
        <!--h1>Mail Testing</h1-->
        <h1 align="center">Oracle Sample Application for E-Mail Notification</h1>
        <form action="JavaMailServlet" method="POST">
	<div class="center">
	<h4>
            Username         <input type=text  name="user">
	</h4>
	</div>
	<div class="center">
	<h4>
            Password     <input type="password" name="pwd">
	</h4>
	</div>
	<br/>
	<div class="center">
	<h4>
            Recipients   <input type=text  name="rcp" size="171">
	</h4>
	</div>
	<div class="center">
	<h4>
            Subject   <input type=text  name="subj" size="171">
	</h4>
	</div>
        <br/>
	<div class="center">
	<p>
            Message Text 
	</p>
        <p>
	<textarea rows="10" cols="40" name="msg"></textarea>
	</p>
        </div>
	<div class="center"> <input type="submit" name="submit" value="Submit" />
        </div>
      </form>
    </body>    
</html>
