0N/A<!
DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2//EN">
573N/A Copyright (c) 1998-2013 Oracle and/or its affiliates. All rights reserved. 0N/A Redistribution and use in source and binary forms, with or without 0N/A modification, are permitted provided that the following conditions 0N/A - Redistributions of source code must retain the above copyright 0N/A notice, this list of conditions and the following disclaimer. 0N/A - Redistributions in binary form must reproduce the above copyright 0N/A notice, this list of conditions and the following disclaimer in the 0N/A documentation and/or other materials provided with the distribution. 292N/A - Neither the name of Oracle nor the names of its 0N/A contributors may be used to endorse or promote products derived 0N/A from this software without specific prior written permission. 0N/A THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS 0N/A IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, 0N/A THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR 0N/A PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR 0N/A CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, 0N/A EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, 0N/A PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR 0N/A PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF 0N/A LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING 0N/A NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS 0N/A SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. 0N/A <
META HTTP-
EQUIV="Content-Type" CONTENT="text/html;CHARSET=iso-8859-1">
0N/A <
TITLE>JavaMail</
TITLE>
0N/A<
BODY BGCOLOR="#CCCCFF">
0N/A<
P ALIGN="CENTER"><
B><
FONT SIZE="5" FACE="Arial, Helvetica">
0N/A<
P ALIGN="CENTER"><
B><
FONT SIZE="5" FACE="Arial, Helvetica">
0N/AHTML Email Reader Demo
0N/A<
TABLE BORDER="0" WIDTH="100%">
0N/A <
P ALIGN="RIGHT"><
FONT FACE="Arial, Helvetica">
0N/A IMAP Hostname:</
FONT>
0N/A <
TD WIDTH="60%"><
INPUT TYPE="TEXT" NAME="hostname" SIZE="25">
0N/A <
P ALIGN="RIGHT"><
FONT FACE="Arial, Helvetica">
0N/A <
TD WIDTH="60%"><
INPUT TYPE="TEXT" NAME="username" SIZE="25">
0N/A <
P ALIGN="RIGHT"><
FONT FACE="Arial, Helvetica">
0N/A <
TD WIDTH="60%"><
INPUT TYPE="PASSWORD" NAME="password" 0N/A<
INPUT TYPE="SUBMIT" VALUE="Login">
0N/A<
INPUT TYPE="RESET" NAME="Reset" VALUE="Reset"></
P>
0N/A<
P><
B><
I><
FONT FACE="Arial, Helvetica">Overview:</
FONT></
I></
B></
P>
0N/A<
FONT SIZE="2" FACE="Arial, Helvetica">
0N/Afile for information on how to
0N/Acompile and run the servlet.<
br> <
br>
0N/AThis is a servlet that demonstrates the use of JavaMail APIs
0N/Ain a 3-tier application. It allows the user to login to an
0N/AIMAP store, list all the messages in the INBOX folder, view
0N/Aselected messages, compose and send a message, and logout.
0N/A<
P><
B><
I><
FONT FACE="Arial, Helvetica">Features:</
FONT></
I></
B></
P>
0N/A <
LI><
FONT SIZE="2" FACE="Arial, Helvetica">
0N/A HTML access to your IMAP mailbox</
FONT>
0N/A <
LI><
FONT SIZE="2" FACE="Arial, Helvetica">
0N/A Proxy-able anywhere HTTP can be proxied</
FONT>
0N/A <
LI><
FONT SIZE="2" FACE="Arial, Helvetica">FAST!</
FONT>
0N/A <
LI><
FONT SIZE="2" FACE="Arial, Helvetica">Easy to use</
FONT>
0N/A <
LI><
FONT SIZE="2" FACE="Arial, Helvetica">
0N/A Uses web browser's content handling capabilities</
FONT>
0N/A <
LI><
FONT SIZE="2" FACE="Arial, Helvetica">
0N/A Ultra small: 1 servlet (2 class files) and 1 html file (this one)</
FONT>
0N/A<
P><
B><
I><
FONT FACE="Arial, Helvetica">Limitations:</
FONT></
I></
B></
P>
0N/A <
LI><
FONT SIZE="2" FACE="Arial, Helvetica">
0N/A Only INBOX support (no user folders)</
FONT>
0N/A <
LI><
FONT SIZE="2" FACE="Arial, Helvetica">
0N/A Can't delete, copy, move, print, save, forward, reply to, search in
0N/A but it could be done</
FONT>
0N/A <
LI><
FONT SIZE="2" FACE="Arial, Helvetica">
0N/A Doesn't check for new messages (have to log out and log back it)</
FONT>
0N/A<
P><
FONT FACE="Arial, Helvetica">Feedback to </
FONT>
573N/A<
A HREF="mailto:javamail_ww@oracle.com">
573N/A<
FONT FACE="Arial, Helvetica">javamail_ww@oracle.com</
FONT></
A>