| 1 |
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2//EN"> |
| 2 |
<HTML> |
| 3 |
<!-- |
| 4 |
|
| 5 |
Copyright (c) 1998, 2019 Oracle and/or its affiliates. All rights reserved. |
| 6 |
|
| 7 |
This program and the accompanying materials are made available under the |
| 8 |
terms of the Eclipse Distribution License v. 1.0, which is available at |
| 9 |
http://www.eclipse.org/org/documents/edl-v10.php. |
| 10 |
|
| 11 |
SPDX-License-Identifier: BSD-3-Clause |
| 12 |
|
| 13 |
--> |
| 14 |
|
| 15 |
<HEAD> |
| 16 |
<META HTTP-EQUIV="Content-Type" CONTENT="text/html;CHARSET=iso-8859-1"> |
| 17 |
<TITLE>Jakarta Mail</TITLE> |
| 18 |
</HEAD> |
| 19 |
|
| 20 |
<BODY BGCOLOR="#CCCCFF"> |
| 21 |
|
| 22 |
<FORM ACTION="/servlet/JakartaMailServlet" METHOD="POST" |
| 23 |
ENCTYPE="application/x-www-form-urlencoded"> |
| 24 |
<P ALIGN="CENTER"><B><FONT SIZE="5" FACE="Arial, Helvetica"> |
| 25 |
Welcome to Jakarta Mail |
| 26 |
</FONT></B></P> |
| 27 |
|
| 28 |
<P ALIGN="CENTER"><B><FONT SIZE="5" FACE="Arial, Helvetica"> |
| 29 |
HTML Email Reader Demo |
| 30 |
</FONT></B></P> |
| 31 |
<CENTER> |
| 32 |
<P> |
| 33 |
<TABLE BORDER="0" WIDTH="100%"> |
| 34 |
<TR> |
| 35 |
<TD WIDTH="40%"> |
| 36 |
<P ALIGN="RIGHT"><FONT FACE="Arial, Helvetica"> |
| 37 |
IMAP Hostname:</FONT> |
| 38 |
</TD> |
| 39 |
<TD WIDTH="60%"><INPUT TYPE="TEXT" NAME="hostname" SIZE="25"> |
| 40 |
</TD> |
| 41 |
</TR> |
| 42 |
<TR> |
| 43 |
<TD WIDTH="40%"> |
| 44 |
<P ALIGN="RIGHT"><FONT FACE="Arial, Helvetica"> |
| 45 |
Username:</FONT> |
| 46 |
</TD> |
| 47 |
<TD WIDTH="60%"><INPUT TYPE="TEXT" NAME="username" SIZE="25"> |
| 48 |
</TD> |
| 49 |
</TR> |
| 50 |
<TR> |
| 51 |
<TD WIDTH="40%"> |
| 52 |
<P ALIGN="RIGHT"><FONT FACE="Arial, Helvetica"> |
| 53 |
Password:</FONT> |
| 54 |
</TD> |
| 55 |
<TD WIDTH="60%"><INPUT TYPE="PASSWORD" NAME="password" |
| 56 |
SIZE="25"></TD> |
| 57 |
</TR> |
| 58 |
</TABLE> |
| 59 |
<INPUT TYPE="SUBMIT" VALUE="Login"> |
| 60 |
<INPUT TYPE="RESET" NAME="Reset" VALUE="Reset"></P> |
| 61 |
</CENTER> |
| 62 |
<P> |
| 63 |
<HR ALIGN="CENTER"> |
| 64 |
</P> |
| 65 |
<P><B><I><FONT FACE="Arial, Helvetica">Overview:</FONT></I></B></P> |
| 66 |
|
| 67 |
<FONT SIZE="2" FACE="Arial, Helvetica"> |
| 68 |
<b>THIS IS A DEMO!!!</b> Please see the JakartaMailServlet.README.txt |
| 69 |
file for information on how to |
| 70 |
compile and run the servlet.<br> <br> |
| 71 |
This is a servlet that demonstrates the use of Jakarta Mail APIs |
| 72 |
in a 3-tier application. It allows the user to login to an |
| 73 |
IMAP store, list all the messages in the INBOX folder, view |
| 74 |
selected messages, compose and send a message, and logout. |
| 75 |
</FONT> |
| 76 |
|
| 77 |
<P><B><I><FONT FACE="Arial, Helvetica">Features:</FONT></I></B></P> |
| 78 |
|
| 79 |
<UL> |
| 80 |
<LI><FONT SIZE="2" FACE="Arial, Helvetica"> |
| 81 |
HTML access to your IMAP mailbox</FONT> |
| 82 |
<LI><FONT SIZE="2" FACE="Arial, Helvetica"> |
| 83 |
Proxy-able anywhere HTTP can be proxied</FONT> |
| 84 |
<LI><FONT SIZE="2" FACE="Arial, Helvetica">FAST!</FONT> |
| 85 |
<LI><FONT SIZE="2" FACE="Arial, Helvetica">Easy to use</FONT> |
| 86 |
<LI><FONT SIZE="2" FACE="Arial, Helvetica"> |
| 87 |
Uses web browser's content handling capabilities</FONT> |
| 88 |
<LI><FONT SIZE="2" FACE="Arial, Helvetica"> |
| 89 |
Ultra small: 1 servlet (2 class files) and 1 html file (this one)</FONT> |
| 90 |
</UL> |
| 91 |
|
| 92 |
<P><B><I><FONT FACE="Arial, Helvetica">Limitations:</FONT></I></B></P> |
| 93 |
|
| 94 |
<UL> |
| 95 |
<LI><FONT SIZE="2" FACE="Arial, Helvetica"> |
| 96 |
Only INBOX support (no user folders)</FONT> |
| 97 |
<LI><FONT SIZE="2" FACE="Arial, Helvetica"> |
| 98 |
Can't delete, copy, move, print, save, forward, reply to, search in |
| 99 |
messages --<BR> |
| 100 |
but it could be done</FONT> |
| 101 |
<LI><FONT SIZE="2" FACE="Arial, Helvetica"> |
| 102 |
Doesn't check for new messages (have to log out and log back it)</FONT> |
| 103 |
</UL> |
| 104 |
|
| 105 |
<P> |
| 106 |
<HR ALIGN="CENTER"> |
| 107 |
</P> |
| 108 |
|
| 109 |
<P><FONT FACE="Arial, Helvetica">Feedback to </FONT> |
| 110 |
<A HREF="mailto:[email protected]"> |
| 111 |
<FONT FACE="Arial, Helvetica">[email protected]</FONT></A> |
| 112 |
</FORM> |
| 113 |
|
| 114 |
</BODY> |
| 115 |
|
| 116 |
</HTML> |